diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-12-09 21:49:07 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-12-09 21:49:07 +0000 |
commit | 272df516d7a9b1f0f69174276abaa759816ee456 (patch) | |
tree | ec3b78d5ce2bcc3c21053c0475dbb42732dee796 /lib/Target/ARM/ARMCodeEmitter.cpp | |
parent | 3c49706a61f5199fb1a6657834a3a71255466781 (diff) | |
download | llvm-272df516d7a9b1f0f69174276abaa759816ee456.tar.gz llvm-272df516d7a9b1f0f69174276abaa759816ee456.tar.bz2 llvm-272df516d7a9b1f0f69174276abaa759816ee456.tar.xz |
Thumb ldr reg+imm offsets were encoded incorrectly. The scaling factor of the
t_addrmode_s# address modes is used for ASM printing, not for encoding.
<rdar://problem/8745375>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121417 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMCodeEmitter.cpp')
-rw-r--r-- | lib/Target/ARM/ARMCodeEmitter.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Target/ARM/ARMCodeEmitter.cpp b/lib/Target/ARM/ARMCodeEmitter.cpp index 02d1631a17..0e0c4f970a 100644 --- a/lib/Target/ARM/ARMCodeEmitter.cpp +++ b/lib/Target/ARM/ARMCodeEmitter.cpp @@ -253,11 +253,7 @@ namespace { const { return 0; } uint32_t getAddrModeThumbSPOpValue(const MachineInstr &MI, unsigned Op) const { return 0; } - uint32_t getAddrModeS4OpValue(const MachineInstr &MI, unsigned Op) - const { return 0; } - uint32_t getAddrModeS2OpValue(const MachineInstr &MI, unsigned Op) - const { return 0; } - uint32_t getAddrModeS1OpValue(const MachineInstr &MI, unsigned Op) + uint32_t getAddrModeSOpValue(const MachineInstr &MI, unsigned Op) const { return 0; } uint32_t getAddrModePCOpValue(const MachineInstr &MI, unsigned Op) const { return 0; } |