1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-15 04:30:12 +00:00

implement unconditional branches

fix select.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30186 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2006-09-08 12:47:03 +00:00
parent 6cec34e094
commit 5c2aa0a4d8
2 changed files with 4 additions and 1 deletions
lib/Target/ARM
test/CodeGen/ARM

View File

@ -127,6 +127,10 @@ def bcond : InstARM<(ops brtarget:$dst, CCOp:$cc),
"b$cc $dst", "b$cc $dst",
[(armbr bb:$dst, imm:$cc)]>; [(armbr bb:$dst, imm:$cc)]>;
def b : InstARM<(ops brtarget:$dst),
"b $dst",
[(br bb:$dst)]>;
def cmp : InstARM<(ops IntRegs:$a, IntRegs:$b), def cmp : InstARM<(ops IntRegs:$a, IntRegs:$b),
"cmp $a, $b", "cmp $a, $b",
[(armcmp IntRegs:$a, IntRegs:$b)]>; [(armcmp IntRegs:$a, IntRegs:$b)]>;

View File

@ -1,5 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm ; RUN: llvm-as < %s | llc -march=arm
; XFAIL: *
int %f(int %a) { int %f(int %a) {
entry: entry: