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
This commit is contained in:
Cameron Zwarich 2011-05-17 23:26:20 +00:00
parent 3c60ff4f3d
commit d6ffcd88ba

View File

@ -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;
}