diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-09-23 19:04:09 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-09-23 19:04:09 +0000 |
commit | 3fad552803d264b6bf83981de305e7080cb8ef4f (patch) | |
tree | 103e5197e2b60dadfa613e14bf527034456399cd /lib/Target/ARM/ARMISelLowering.cpp | |
parent | a9b57edff7a7dbf11ba9fe787349d21f7e3e80f6 (diff) | |
download | external_llvm-3fad552803d264b6bf83981de305e7080cb8ef4f.zip external_llvm-3fad552803d264b6bf83981de305e7080cb8ef4f.tar.gz external_llvm-3fad552803d264b6bf83981de305e7080cb8ef4f.tar.bz2 |
ARM does not support offset folding (yet). Disable it for now.
This fixes PR5031. Unfortunately, there is no small testcase :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82643 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index df9f296..a656ef9 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -4073,3 +4073,9 @@ void ARMTargetLowering::LowerAsmOperandForConstraint(SDValue Op, return TargetLowering::LowerAsmOperandForConstraint(Op, Constraint, hasMemory, Ops, DAG); } + +bool +ARMTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const { + // The ARM target isn't yet aware of offsets. + return false; +} |