1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

Don't recycle loop variables.

llvm-svn: 129928
This commit is contained in:
Matt Beaumont-Gay 2011-04-21 19:46:23 +00:00
parent 5053b8795b
commit eb07568f1b

View File

@ -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.