mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
BranchRelaxation: Unique live ins when creating block
llvm-svn: 284018
This commit is contained in:
parent
81454c748f
commit
f80a9a7346
@ -379,6 +379,7 @@ bool BranchRelaxation::fixupUnconditionalBranch(MachineInstr &MI) {
|
||||
BranchBB->addLiveIn(LiveIn);
|
||||
}
|
||||
|
||||
BranchBB->sortUniqueLiveIns();
|
||||
BranchBB->addSuccessor(DestBB);
|
||||
MBB->replaceSuccessor(DestBB, BranchBB);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user