forked from OSchip/llvm-project
[BranchRelaxation] Fix warning on unused variable. NFC.
This commit is contained in:
parent
08056e1888
commit
af2ae2cf42
|
@ -485,7 +485,7 @@ bool BranchRelaxation::fixupUnconditionalBranch(MachineInstr &MI) {
|
|||
MachineBasicBlock *PrevBB = &*std::prev(DestBB->getIterator());
|
||||
if (auto *FT = PrevBB->getFallThrough()) {
|
||||
assert(FT == DestBB);
|
||||
TII->insertUnconditionalBranch(*PrevBB, DestBB, DebugLoc());
|
||||
TII->insertUnconditionalBranch(*PrevBB, FT, DebugLoc());
|
||||
// Recalculate the block size.
|
||||
BlockInfo[PrevBB->getNumber()].Size = computeBlockSize(*PrevBB);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue