aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMInstrThumb.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td
index 056cbfce74..5e4cf373f9 100644
--- a/lib/Target/ARM/ARMInstrThumb.td
+++ b/lib/Target/ARM/ARMInstrThumb.td
@@ -1486,7 +1486,7 @@ def tPOP_RET : tPseudoExpand<(outs), (ins pred:$p, reglist:$regs, variable_ops),
// Indirect branch using "mov pc, $Rm"
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)],
- (tMOVr PC, GPR:$Rm, (ops 14, zero_reg))>;
+ (tMOVr PC, GPR:$Rm, pred:$p)>;
}