[llvm] r251251 - [LCSSA] Unbreak build, don't reuse L; NFC
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 25 12:27:17 PDT 2015
Author: sanjoy
Date: Sun Oct 25 14:27:17 2015
New Revision: 251251
URL: http://llvm.org/viewvc/llvm-project?rev=251251&view=rev
Log:
[LCSSA] Unbreak build, don't reuse L; NFC
The build broke in r251248.
Modified:
llvm/trunk/lib/Transforms/Utils/LCSSA.cpp
Modified: llvm/trunk/lib/Transforms/Utils/LCSSA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LCSSA.cpp?rev=251251&r1=251250&r2=251251&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LCSSA.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LCSSA.cpp Sun Oct 25 14:27:17 2015
@@ -262,8 +262,8 @@ bool llvm::formLCSSARecursively(Loop &L,
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;
More information about the llvm-commits
mailing list