mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Fix buildbot breakage caused by r139415. I missed one instance of a manually create ARM::tB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139429 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
08fef885eb
commit
cd4338fff5
@ -1522,6 +1522,10 @@ ARMConstantIslands::FixUpConditionalBr(MachineFunction &MF, ImmBranch &Br) {
|
||||
.addMBB(NextBB).addImm(CC).addReg(CCReg);
|
||||
Br.MI = &MBB->back();
|
||||
BBSizes[MBB->getNumber()] += TII->GetInstSizeInBytes(&MBB->back());
|
||||
if (isThumb)
|
||||
BuildMI(MBB, DebugLoc(), TII->get(Br.UncondBr)).addMBB(DestBB)
|
||||
.addImm(ARMCC::AL).addReg(0);
|
||||
else
|
||||
BuildMI(MBB, DebugLoc(), TII->get(Br.UncondBr)).addMBB(DestBB);
|
||||
BBSizes[MBB->getNumber()] += TII->GetInstSizeInBytes(&MBB->back());
|
||||
unsigned MaxDisp = getUnconditionalBrDisp(Br.UncondBr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user