mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 23:20:54 +00:00
Don't recycle loop variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129928 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5928046306
commit
ae5fbeec23
@ -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