[llvm-commits] CVS: llvm/lib/Transforms/Utils/LCSSA.cpp
Owen Anderson
resistor at mac.com
Fri Jun 9 11:33:44 PDT 2006
Changes in directory llvm/lib/Transforms/Utils:
LCSSA.cpp updated: 1.16 -> 1.17
---
Log message:
Make Loop able to verify that it is in LCSSA-form, and have the LCSSA pass assert
on this.
---
Diffs of the changes: (+3 -1)
LCSSA.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/lib/Transforms/Utils/LCSSA.cpp
diff -u llvm/lib/Transforms/Utils/LCSSA.cpp:1.16 llvm/lib/Transforms/Utils/LCSSA.cpp:1.17
--- llvm/lib/Transforms/Utils/LCSSA.cpp:1.16 Thu Jun 8 15:02:53 2006
+++ llvm/lib/Transforms/Utils/LCSSA.cpp Fri Jun 9 13:33:30 2006
@@ -98,7 +98,7 @@
for (LoopInfo::iterator I = LI->begin(), E = LI->end(); I != E; ++I) {
changed |= visitSubloop(*I);
}
-
+
return changed;
}
@@ -132,6 +132,8 @@
processInstruction(*I, exitBlocks);
}
+ assert(L->isLCSSAForm());
+
return true;
}
More information about the llvm-commits
mailing list