forked from OSchip/llvm-project
There's no need to add additional predicate operands when converting a tB to a tBfar now. Fixes nightly test failures on armv6 Thumb. <rdar://problem/10110404>
llvm-svn: 139531
This commit is contained in:
parent
777c928369
commit
3543398bcf
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue