Correct a minor problem with the Thumb2 LDREX and STREX instruction encodings. They
authorCameron Zwarich <zwarich@apple.com>
Tue, 17 May 2011 23:11:12 +0000 (23:11 +0000)
committerCameron Zwarich <zwarich@apple.com>
Tue, 17 May 2011 23:11:12 +0000 (23:11 +0000)
were marked as taking a tGPR when in reality they take an rGPR.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131506 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrThumb2.td

index 25b39ba9752bb5a76170be1a04387822d9e63b61..5e63ed5912ab259e56657454a489c2346c9b7310 100644 (file)
@@ -158,7 +158,7 @@ def t2addrmode_so_reg : Operand<i32>,
 //
 def t2addrmode_reg : Operand<i32> {
   let PrintMethod = "printAddrMode7Operand";
-  let MIOperandInfo = (ops tGPR);
+  let MIOperandInfo = (ops rGPR);
   let ParserMatchClass = MemMode7AsmOperand;
 }