mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
ARM::tB is also predicable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37125 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
02c602b333
commit
3f8602cf20
@ -207,8 +207,10 @@ let isCall = 1, noResults = 1,
|
||||
[(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 @@ let isBranch = 1, isTerminator = 1, isBarrier = 1 in {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user