From 7e61a3120d70f743825e96e461368ade3bebd7d5 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Fri, 8 Jul 2011 22:33:49 +0000 Subject: [PATCH] Mark tBRIND as predicable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134758 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMInstrThumb.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index 056cbfce74a..5e4cf373f9d 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)>; }