mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-22 03:58:16 +00:00
[LCSSA] Unbreak build, don't reuse L; NFC
The build broke in r251248. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
33624191af
commit
dd4f44833e
@ -262,8 +262,8 @@ bool llvm::formLCSSARecursively(Loop &L, DominatorTree &DT, LoopInfo *LI,
|
||||
bool Changed = false;
|
||||
|
||||
// Recurse depth-first through inner loops.
|
||||
for (Loop *L : L.getSubLoops())
|
||||
Changed |= formLCSSARecursively(*L, DT, LI, SE);
|
||||
for (Loop *SubLoop : L.getSubLoops())
|
||||
Changed |= formLCSSARecursively(*SubLoop, DT, LI, SE);
|
||||
|
||||
Changed |= formLCSSA(L, DT, LI, SE);
|
||||
return Changed;
|
||||
|
Loading…
Reference in New Issue
Block a user