From: Cameron Zwarich Date: Tue, 17 May 2011 23:26:20 +0000 (+0000) Subject: Actually, the address operand of the Thumb2 LDREX / STREX instructions *can* X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d6ffcd88baa95988c0158151ec1d188a8442bff9;p=oota-llvm.git 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 --- 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; }