aboutsummaryrefslogtreecommitdiff
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
commit39c67b5e086f7d1a5e37a81f23ae83b5e6ba7cdb (patch)
tree8237fa38628c4115d16dcafa630a670626f1afff
parent60fc0fca5c99b9d6dd2d2fd515f988b1e40bfdda (diff)
downloadllvm-39c67b5e086f7d1a5e37a81f23ae83b5e6ba7cdb.zip
llvm-39c67b5e086f7d1a5e37a81f23ae83b5e6ba7cdb.tar.gz
llvm-39c67b5e086f7d1a5e37a81f23ae83b5e6ba7cdb.tar.bz2
Mark tBRIND as predicable.
llvm-svn: 134758
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb.td b/llvm/lib/Target/ARM/ARMInstrThumb.td
index 056cbfc..5e4cf37 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb.td
+++ b/llvm/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)>;
}