diff options
author | David Goodwin <david_goodwin@apple.com> | 2009-07-23 17:06:46 +0000 |
---|---|---|
committer | David Goodwin <david_goodwin@apple.com> | 2009-07-23 17:06:46 +0000 |
commit | 6deba28c6fcca94ffebe3b8b904ab6ec074ea419 (patch) | |
tree | 06fbf08d04f5a3832c815fda14b6d1766b0d18ff /llvm/lib/Target/ARM/ARMInstrInfo.cpp | |
parent | 8af896c10a9c35aac3f7adca714fd99f52362e25 (diff) | |
download | bcm5719-llvm-6deba28c6fcca94ffebe3b8b904ab6ec074ea419.tar.gz bcm5719-llvm-6deba28c6fcca94ffebe3b8b904ab6ec074ea419.zip |
Fix frame index elimination to correctly handle thumb-2 addressing modes that don't allow negative offsets. During frame elimination convert *i12 opcode to a *i8 when necessary due to a negative offset.
llvm-svn: 76883
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.cpp b/llvm/lib/Target/ARM/ARMInstrInfo.cpp index 688dc31c139..45b77c83bee 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.cpp +++ b/llvm/lib/Target/ARM/ARMInstrInfo.cpp @@ -30,6 +30,11 @@ ARMInstrInfo::ARMInstrInfo(const ARMSubtarget &STI) } unsigned ARMInstrInfo:: +unsignedOffsetOpcodeToSigned(unsigned opcode, unsigned *NumBits) const { + return 0; +} + +unsigned ARMInstrInfo:: getUnindexedOpcode(unsigned Opc) const { switch (Opc) { default: break; |