mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Fixed an iteration condition in PreAllocSplitting. This should fix some miscompilations casued by PreAllocSplitting.
llvm-svn: 86919
This commit is contained in:
parent
46056d81aa
commit
41dcc7ba71
@ -1400,7 +1400,7 @@ bool PreAllocSplitting::removeDeadSpills(SmallPtrSet<LiveInterval*, 8>& split) {
|
||||
// Otherwise, this is a load-store case, so DCE them.
|
||||
for (SmallPtrSet<MachineInstr*, 4>::iterator UI =
|
||||
VNUseCount[CurrVN].begin(), UE = VNUseCount[CurrVN].end();
|
||||
UI != UI; ++UI) {
|
||||
UI != UE; ++UI) {
|
||||
LIs->RemoveMachineInstrFromMaps(*UI);
|
||||
(*UI)->eraseFromParent();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user