From d6ffcd88baa95988c0158151ec1d188a8442bff9 Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Tue, 17 May 2011 23:26:20 +0000 Subject: [PATCH] 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 --- lib/Target/ARM/ARMInstrThumb2.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index 5e63ed5912a..b8159f13a3a 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -158,7 +158,7 @@ def t2addrmode_so_reg : Operand, // def t2addrmode_reg : Operand { let PrintMethod = "printAddrMode7Operand"; - let MIOperandInfo = (ops rGPR); + let MIOperandInfo = (ops GPR); let ParserMatchClass = MemMode7AsmOperand; } -- 2.34.1