From 272df516d7a9b1f0f69174276abaa759816ee456 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 9 Dec 2010 21:49:07 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121417 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMCodeEmitter.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/Target/ARM/ARMCodeEmitter.cpp') 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; } -- cgit v1.2.3