mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-22 20:26:31 +00:00
Fix LoopInterchange/reductions.ll test for debug builds
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235734 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d5df7d3c7b
commit
1dd6b024a2
@ -1012,8 +1012,8 @@ void LoopInterchangeTransform::restructureLoops(Loop *InnerLoop,
|
||||
LI->changeTopLevelLoop(OuterLoop, InnerLoop);
|
||||
}
|
||||
|
||||
for (Loop::iterator I = InnerLoop->begin(), E = InnerLoop->end(); I != E; ++I)
|
||||
OuterLoop->addChildLoop(InnerLoop->removeChildLoop(I));
|
||||
while (!InnerLoop->empty())
|
||||
OuterLoop->addChildLoop(InnerLoop->removeChildLoop(InnerLoop->begin()));
|
||||
|
||||
InnerLoop->addChildLoop(OuterLoop);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user