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:
parent
6cec34e094
commit
5c2aa0a4d8
@ -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)]>;
|
||||
|
@ -1,5 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=arm
|
||||
; XFAIL: *
|
||||
|
||||
int %f(int %a) {
|
||||
entry:
|
||||
|
Loading…
Reference in New Issue
Block a user