From: Owen Anderson Date: Mon, 12 Sep 2011 20:07:22 +0000 (+0000) Subject: There's no need to add additional predicate operands when converting a tB to a tBfar... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a0737950233acc271e444b270498d4986b4d2d00;p=oota-llvm.git There's no need to add additional predicate operands when converting a tB to a tBfar now. Fixes nightly test failures on armv6 Thumb. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139531 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMConstantIslandPass.cpp b/lib/Target/ARM/ARMConstantIslandPass.cpp index 0c941d7d23b..3e3a4134c70 100644 --- a/lib/Target/ARM/ARMConstantIslandPass.cpp +++ b/lib/Target/ARM/ARMConstantIslandPass.cpp @@ -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;