aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMInstrThumb.td
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-07-08 22:33:49 +0000
committerJim Grosbach <grosbach@apple.com>2011-07-08 22:33:49 +0000
commit7e61a3120d70f743825e96e461368ade3bebd7d5 (patch)
treeb37281cabede4399db4372bc31648366be66655a /lib/Target/ARM/ARMInstrThumb.td
parent4d1a8dde2d9eea508f66d51428b4f155fa6a6756 (diff)
Mark tBRIND as predicable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134758 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrThumb.td')
-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)>;
}