diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2006-09-08 12:47:03 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2006-09-08 12:47:03 +0000 |
commit | 5c2aa0a4d819039a8f31d04041f6c8056cd10fb7 (patch) | |
tree | cb0e9362067e3d62a20c4bfe6c5ad5a893e41723 | |
parent | 6cec34e094b0c14c15adcc3f9cbbbf6af7cb6c44 (diff) |
implement unconditional branches
fix select.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30186 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.td | 4 | ||||
-rw-r--r-- | test/CodeGen/ARM/select.ll | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index 58c7b40608..6cd90d99ba 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/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)]>; diff --git a/test/CodeGen/ARM/select.ll b/test/CodeGen/ARM/select.ll index 87251abfb0..4e017bf27d 100644 --- a/test/CodeGen/ARM/select.ll +++ b/test/CodeGen/ARM/select.ll @@ -1,5 +1,4 @@ ; RUN: llvm-as < %s | llc -march=arm -; XFAIL: * int %f(int %a) { entry: |