diff options
author | Owen Anderson <resistor@mac.com> | 2011-09-12 20:07:22 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-09-12 20:07:22 +0000 |
commit | 3543398bcf1687f79675d330d30b3c177edf5c06 (patch) | |
tree | ca8ce453a13b75ddc597e0aba5c3c37047647b58 /llvm/lib/Target | |
parent | 777c928369ff78a6e8fef1d0c9d405ec3338b860 (diff) | |
download | bcm5719-llvm-3543398bcf1687f79675d330d30b3c177edf5c06.tar.gz bcm5719-llvm-3543398bcf1687f79675d330d30b3c177edf5c06.zip |
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
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/ARM/ARMConstantIslandPass.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp index 0c941d7d23b..3e3a4134c70 100644 --- a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp +++ b/llvm/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; |