[llvm-commits] [llvm] r120305 - /llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
Jim Grosbach
grosbach at apple.com
Mon Nov 29 10:53:24 PST 2010
Author: grosbach
Date: Mon Nov 29 12:53:24 2010
New Revision: 120305
URL: http://llvm.org/viewvc/llvm-project?rev=120305&view=rev
Log:
The ARM BR_JT* pseudos don't need to use the printer jtblock_operand node to
get the pretty-printer. That's handled explicityly by the MC lowering now.
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=120305&r1=120304&r2=120305&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrInfo.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrInfo.td Mon Nov 29 12:53:24 2010
@@ -1429,22 +1429,22 @@
let isNotDuplicable = 1, isIndirectBranch = 1 in {
def BR_JTr : ARMPseudoInst<(outs),
- (ins GPR:$target, jtblock_operand:$jt, i32imm:$id),
- IIC_Br,// "mov\tpc, $target$jt",
+ (ins GPR:$target, i32imm:$jt, i32imm:$id),
+ IIC_Br,
[(ARMbrjt GPR:$target, tjumptable:$jt, imm:$id)]> {
let SZ = SizeSpecial;
}
// FIXME: This shouldn't use the generic "addrmode2," but rather be split
// into i12 and rs suffixed versions.
def BR_JTm : ARMPseudoInst<(outs),
- (ins addrmode2:$target, jtblock_operand:$jt, i32imm:$id),
+ (ins addrmode2:$target, i32imm:$jt, i32imm:$id),
IIC_Br,
[(ARMbrjt (i32 (load addrmode2:$target)), tjumptable:$jt,
imm:$id)]> {
let SZ = SizeSpecial;
}
def BR_JTadd : ARMPseudoInst<(outs),
- (ins GPR:$target, GPR:$idx, jtblock_operand:$jt, i32imm:$id),
+ (ins GPR:$target, GPR:$idx, i32imm:$jt, i32imm:$id),
IIC_Br,
[(ARMbrjt (add GPR:$target, GPR:$idx), tjumptable:$jt,
imm:$id)]> {
More information about the llvm-commits
mailing list