[llvm-commits] [llvm] r131507 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td

Cameron Zwarich zwarich at apple.com
Tue May 17 16:26:20 PDT 2011


Author: zwarich
Date: Tue May 17 18:26:20 2011
New Revision: 131507

URL: http://llvm.org/viewvc/llvm-project?rev=131507&view=rev
Log:
Actually, the address operand of the Thumb2 LDREX / STREX instructions *can*
take r13, so we can just make it a GPR. This fixes PR8825.

Modified:
    llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td

Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td?rev=131507&r1=131506&r2=131507&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td Tue May 17 18:26:20 2011
@@ -158,7 +158,7 @@
 //
 def t2addrmode_reg : Operand<i32> {
   let PrintMethod = "printAddrMode7Operand";
-  let MIOperandInfo = (ops rGPR);
+  let MIOperandInfo = (ops GPR);
   let ParserMatchClass = MemMode7AsmOperand;
 }
 





More information about the llvm-commits mailing list