Changes in directory llvm/lib/Target/ARM:

ARMInstrThumb.td updated: 1.27 -> 1.28
---
Log message:

ARM::tB is also predicable.

---
Diffs of the changes:  (+5 -2)

 ARMInstrThumb.td |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/ARM/ARMInstrThumb.td
diff -u llvm/lib/Target/ARM/ARMInstrThumb.td:1.27 
llvm/lib/Target/ARM/ARMInstrThumb.td:1.28
--- llvm/lib/Target/ARM/ARMInstrThumb.td:1.27   Mon May 14 20:29:07 2007
+++ llvm/lib/Target/ARM/ARMInstrThumb.td        Wed May 16 16:53:43 2007
@@ -207,8 +207,10 @@
                   [(ARMcall_nolink GPR:$dst)]>;
 }
 
-let isBranch = 1, isTerminator = 1, isBarrier = 1 in {
-  def tB   : TI<(ops brtarget:$dst), "b $dst", [(br bb:$dst)]>;
+let isBranch = 1, isTerminator = 1, noResults = 1 in {
+  let isBarrier = 1 in {
+    let isPredicable = 1 in
+    def tB   : TI<(ops brtarget:$dst), "b $dst", [(br bb:$dst)]>;
 
   // Far jump
   def tBfar  : TIx2<(ops brtarget:$dst), "bl $dst\t@ far jump", []>;
@@ -216,6 +218,7 @@
   def tBR_JTr : TJTI<(ops GPR:$dst, jtblock_operand:$jt, i32imm:$id),
                      "cpy pc, $dst \n\t.align\t2\n$jt",
                      [(ARMbrjt GPR:$dst, tjumptable:$jt, imm:$id)]>;
+  }
 }
 
 let isBranch = 1, isTerminator = 1, noResults = 1, isBarrier = 1 in



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to