mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Mark the branch insns correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72529 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df75a27609
commit
a455942895
@ -452,12 +452,13 @@ let isCall = 1,
|
||||
[(set GPR:$dest, (PIC16callw (PIC16Connect GPR:$func, PCLATHR:$pc)))]>;
|
||||
}
|
||||
|
||||
let Uses = [STATUS] in
|
||||
let Uses = [STATUS], isBranch = 1, isTerminator = 1, hasDelaySlot = 0 in
|
||||
def pic16brcond: ControlFormat<0x0, (outs), (ins brtarget:$dst, CCOp:$cc),
|
||||
"b$cc $dst",
|
||||
[(PIC16Brcond bb:$dst, imm:$cc)]>;
|
||||
|
||||
// Unconditional branch.
|
||||
let isBranch = 1, isTerminator = 1, hasDelaySlot = 0 in
|
||||
def br_uncond: ControlFormat<0x0, (outs), (ins brtarget:$dst),
|
||||
"goto $dst",
|
||||
[(br bb:$dst)]>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user