mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
Minor change to TailDuplication.cpp to turn on normalization when removing successor
llvm-svn: 255752
This commit is contained in:
parent
0d80a00b30
commit
6b60683156
@ -748,7 +748,7 @@ TailDuplicatePass::duplicateSimpleBB(MachineBasicBlock *TailBB,
|
||||
if (!PredBB->isSuccessor(NewTarget))
|
||||
PredBB->replaceSuccessor(TailBB, NewTarget);
|
||||
else {
|
||||
PredBB->removeSuccessor(TailBB, 0);
|
||||
PredBB->removeSuccessor(TailBB, true);
|
||||
assert(PredBB->succ_size() <= 1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user