summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2006-09-08 12:47:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2006-09-08 12:47:03 +0000
commit778769aafb56021bc858e6ce08ec3392d5d25f17 (patch)
tree1900b9c96f9cd9bd92c9355bd05fdeda0788730d /llvm/lib/Target/ARM
parent5a798b0648e077040cb1971ec1f107bee4aadd5f (diff)
downloadbcm5719-llvm-778769aafb56021bc858e6ce08ec3392d5d25f17.tar.gz
bcm5719-llvm-778769aafb56021bc858e6ce08ec3392d5d25f17.zip
implement unconditional branches
fix select.ll llvm-svn: 30186
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrInfo.td4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td
index 58c7b40608a..6cd90d99baa 100644
--- a/llvm/lib/Target/ARM/ARMInstrInfo.td
+++ b/llvm/lib/Target/ARM/ARMInstrInfo.td
@@ -127,6 +127,10 @@ 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, IntRegs:$b),
"cmp $a, $b",
[(armcmp IntRegs:$a, IntRegs:$b)]>;
OpenPOWER on IntegriCloud