diff options
author | Quentin Colombet <qcolombet@apple.com> | 2013-10-11 18:29:42 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2013-10-11 18:29:42 +0000 |
commit | de0e06234cc4df604fe000c7ae5d8e9de6454588 (patch) | |
tree | 322006db3ec273c27b521960a68fdd8a52fe844d /llvm/utils/FileCheck/FileCheck.cpp | |
parent | 5aee63d9e3fcaaf047072bf9edf0da7e38bf7f7e (diff) | |
download | llvm-de0e06234cc4df604fe000c7ae5d8e9de6454588.zip llvm-de0e06234cc4df604fe000c7ae5d8e9de6454588.tar.gz llvm-de0e06234cc4df604fe000c7ae5d8e9de6454588.tar.bz2 |
[DAGCombiner] Reapply load slicing (192471) with a test that explicitly set sse4.2 support.
This should fix the buildbots.
Original commit message:
[DAGCombiner] Slice a big load in two loads when the element are next to each
other in memory and the target has paired load and performs post-isel loads
combining.
E.g., this optimization will transform something like this:
a = load i64* addr
b = trunc i64 a to i32
c = lshr i64 a, 32
d = trunc i64 c to i32
into:
b = load i32* addr1
d = load i32* addr2
Where addr1 = addr2 +/- sizeof(i32), if the target supports paired load and
performs post-isel loads combining.
One should overload TargetLowering::hasPairedLoad to provide this information.
The default is false.
<rdar://problem/14477220>
llvm-svn: 192476
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions