[LCSSA] Unbreak build, don't reuse L; NFC

The build broke in r251248.

llvm-svn: 251251
This commit is contained in:
Sanjoy Das 2015-10-25 19:27:17 +00:00
parent d9977010d0
commit 15c4c4604f

View File

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