[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.td
Rafael Espindola
rafael.espindola at gmail.com
Wed Oct 18 09:21:11 PDT 2006
Changes in directory llvm/lib/Target/ARM:
ARMInstrInfo.td updated: 1.64 -> 1.65
---
Log message:
add isTerminatortto b and bcond
---
Diffs of the changes: (+9 -7)
ARMInstrInfo.td | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
Index: llvm/lib/Target/ARM/ARMInstrInfo.td
diff -u llvm/lib/Target/ARM/ARMInstrInfo.td:1.64 llvm/lib/Target/ARM/ARMInstrInfo.td:1.65
--- llvm/lib/Target/ARM/ARMInstrInfo.td:1.64 Tue Oct 17 15:45:22 2006
+++ llvm/lib/Target/ARM/ARMInstrInfo.td Wed Oct 18 11:20:57 2006
@@ -210,13 +210,15 @@
def UMULL : IntBinOp<"umull r12,", mulhu>;
}
-def bcond : InstARM<(ops brtarget:$dst, CCOp:$cc),
- "b$cc $dst",
- [(armbr bb:$dst, imm:$cc)]>;
-
-def b : InstARM<(ops brtarget:$dst),
- "b $dst",
- [(br bb:$dst)]>;
+let isTerminator = 1 in {
+ def bcond : InstARM<(ops brtarget:$dst, CCOp:$cc),
+ "b$cc $dst",
+ [(armbr bb:$dst, imm:$cc)]>;
+
+ def b : InstARM<(ops brtarget:$dst),
+ "b $dst",
+ [(br bb:$dst)]>;
+}
def cmp : InstARM<(ops IntRegs:$a, op_addr_mode1:$b),
"cmp $a, $b",
More information about the llvm-commits
mailing list