There's no need to add additional predicate operands when converting a tB to a tBfar...
authorOwen Anderson <resistor@mac.com>
Mon, 12 Sep 2011 20:07:22 +0000 (20:07 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 12 Sep 2011 20:07:22 +0000 (20:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139531 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMConstantIslandPass.cpp

index 0c941d7d23bc7d0f06043e88dc652844d89e0c4c..3e3a4134c70447ac6ea38d69d220b3ed3fae2899 100644 (file)
@@ -1438,8 +1438,6 @@ ARMConstantIslands::FixUpUnconditionalBr(MachineFunction &MF, ImmBranch &Br) {
   // Use BL to implement far jump.
   Br.MaxDisp = (1 << 21) * 2;
   MI->setDesc(TII->get(ARM::tBfar));
-  MI->addOperand(MachineOperand::CreateImm((int64_t)ARMCC::AL));
-  MI->addOperand(MachineOperand::CreateReg(0, false));
   BBSizes[MBB->getNumber()] += 2;
   AdjustBBOffsetsAfter(MBB, 2);
   HasFarJump = true;