Mark tBRIND as predicable.
authorJim Grosbach <grosbach@apple.com>
Fri, 8 Jul 2011 22:33:49 +0000 (22:33 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 8 Jul 2011 22:33:49 +0000 (22:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134758 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrThumb.td

index 056cbfce74ad7ed45825f69e24868822afa76b2b..5e4cf373f9dd3c3b430901d3655b36eb86d244f9 100644 (file)
@@ -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)>;
 }