mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
Don't recycle loop variables.
llvm-svn: 129928
This commit is contained in:
parent
5053b8795b
commit
eb07568f1b
@ -1001,7 +1001,7 @@ void SplitEditor::finish(SmallVectorImpl<unsigned> *LRMap) {
|
||||
DEBUG(dbgs() << " " << NumComp << " components: " << *li << '\n');
|
||||
SmallVector<LiveInterval*, 8> dups;
|
||||
dups.push_back(li);
|
||||
for (unsigned i = 1; i != NumComp; ++i)
|
||||
for (unsigned j = 1; j != NumComp; ++j)
|
||||
dups.push_back(&Edit->create(LIS, VRM));
|
||||
ConEQ.Distribute(&dups[0], MRI);
|
||||
// The new intervals all map back to i.
|
||||
|
Loading…
Reference in New Issue
Block a user