mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-08 12:21:04 +00:00
Mark the branch insns correctly.
llvm-svn: 72529
This commit is contained in:
parent
b8df12a7ab
commit
efc1b70b9e
@ -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…
Reference in New Issue
Block a user