diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-05-17 23:26:20 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-05-17 23:26:20 +0000 |
commit | d6ffcd88baa95988c0158151ec1d188a8442bff9 (patch) | |
tree | 856e273335af9de40c854ac91ea1386f70a3b77f | |
parent | 3c60ff4f3da9671597ed8fadd775255902616b71 (diff) |
Actually, the address operand of the Thumb2 LDREX / STREX instructions *can*
take r13, so we can just make it a GPR. This fixes PR8825.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131507 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb2.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index 5e63ed5912..b8159f13a3 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -158,7 +158,7 @@ def t2addrmode_so_reg : Operand<i32>, // def t2addrmode_reg : Operand<i32> { let PrintMethod = "printAddrMode7Operand"; - let MIOperandInfo = (ops rGPR); + let MIOperandInfo = (ops GPR); let ParserMatchClass = MemMode7AsmOperand; } |