diff options
author | Quentin Colombet <qcolombet@apple.com> | 2013-10-11 18:17:17 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2013-10-11 18:17:17 +0000 |
commit | 4351741a3b36bfe1ac1b385334fc5fa6f6ef5a11 (patch) | |
tree | bc275e8936f4de416301e8b5f0233739b326867f /include | |
parent | 1dfe206062ee43d60d2535bddb0c0b629037e7d8 (diff) | |
download | llvm-4351741a3b36bfe1ac1b385334fc5fa6f6ef5a11.tar.gz llvm-4351741a3b36bfe1ac1b385334fc5fa6f6ef5a11.tar.bz2 llvm-4351741a3b36bfe1ac1b385334fc5fa6f6ef5a11.tar.xz |
[DAGCombiner] Revert load slicing (r192471), until I figure out why it fails on ubuntu.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 1c0ad63ac6..0130e07c49 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -1183,35 +1183,6 @@ public: return false; } - /// Return true if the target supplies and combines to a paired load - /// two loaded values of type LoadedType next to each other in memory. - /// RequiredAlignment gives the minimal alignment constraints that must be met to - /// be able to select this paired load. - /// - /// This information is *not* used to generate actual paired loads, but it is used - /// to generate a sequence of loads that is easier to combine into a paired load. - /// For instance, something like this: - /// a = load i64* addr - /// b = trunc i64 a to i32 - /// c = lshr i64 a, 32 - /// d = trunc i64 c to i32 - /// will be optimized into: - /// b = load i32* addr1 - /// d = load i32* addr2 - /// Where addr1 = addr2 +/- sizeof(i32). - /// - /// In other words, unless the target performs a post-isel load combining, this - /// information should not be provided because it will generate more loads. - virtual bool hasPairedLoad(Type * /*LoadedType*/, - unsigned & /*RequiredAligment*/) const { - return false; - } - - virtual bool hasPairedLoad(EVT /*LoadedType*/, - unsigned & /*RequiredAligment*/) const { - return false; - } - /// Return true if zero-extending the specific node Val to type VT2 is free /// (either because it's implicitly zero-extended such as ARM ldrb / ldrh or /// because it's folded such as X86 zero-extending loads). |