[llvm-commits] [llvm] r148782 - /llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
Anton Korobeynikov
asl at math.spbu.ru
Mon Jan 23 20:58:56 PST 2012
Author: asl
Date: Mon Jan 23 22:58:56 2012
New Revision: 148782
URL: http://llvm.org/viewvc/llvm-project?rev=148782&view=rev
Log:
Use correct register class for am2offset register operands.
This pacifies machine verifier
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrInfo.td?rev=148782&r1=148781&r2=148782&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrInfo.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrInfo.td Mon Jan 23 22:58:56 2012
@@ -766,7 +766,7 @@
let PrintMethod = "printAddrMode2OffsetOperand";
// When using this for assembly, it's always as a post-index offset.
let ParserMatchClass = PostIdxRegShiftedAsmOperand;
- let MIOperandInfo = (ops GPR, i32imm);
+ let MIOperandInfo = (ops GPRnopc, i32imm);
}
// FIXME: am2offset_imm should only need the immediate, not the GPR. Having
@@ -778,7 +778,7 @@
let EncoderMethod = "getAddrMode2OffsetOpValue";
let PrintMethod = "printAddrMode2OffsetOperand";
let ParserMatchClass = AM2OffsetImmAsmOperand;
- let MIOperandInfo = (ops GPR, i32imm);
+ let MIOperandInfo = (ops GPRnopc, i32imm);
}
More information about the llvm-commits
mailing list