mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Mark tBRIND as predicable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134758 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1486,7 +1486,7 @@ def tPOP_RET : tPseudoExpand<(outs), (ins pred:$p, reglist:$regs, variable_ops),
|
|||||||
|
|
||||||
// Indirect branch using "mov pc, $Rm"
|
// Indirect branch using "mov pc, $Rm"
|
||||||
let isBranch = 1, isTerminator = 1, isBarrier = 1, isIndirectBranch = 1 in {
|
let isBranch = 1, isTerminator = 1, isBarrier = 1, isIndirectBranch = 1 in {
|
||||||
def tBRIND : tPseudoExpand<(outs), (ins GPR:$Rm),
|
def tBRIND : tPseudoExpand<(outs), (ins GPR:$Rm, pred:$p),
|
||||||
Size2Bytes, IIC_Br, [(brind GPR:$Rm)],
|
Size2Bytes, IIC_Br, [(brind GPR:$Rm)],
|
||||||
(tMOVr PC, GPR:$Rm, (ops 14, zero_reg))>;
|
(tMOVr PC, GPR:$Rm, pred:$p)>;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user