[llvm-commits] CVS: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Owen Anderson
resistor at mac.com
Fri Aug 25 15:12:50 PDT 2006
Changes in directory llvm/lib/Transforms/Scalar:
IndVarSimplify.cpp updated: 1.92 -> 1.93
---
Log message:
Add an assertion to check that we're really preserving LCSSA.
---
Diffs of the changes: (+2 -0)
IndVarSimplify.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
diff -u llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.92 llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.93
--- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.92 Fri Aug 25 12:41:25 2006
+++ llvm/lib/Transforms/Scalar/IndVarSimplify.cpp Fri Aug 25 17:12:36 2006
@@ -571,4 +571,6 @@
#endif
DeleteTriviallyDeadInstructions(DeadInsts);
+
+ if (mustPreserveAnalysisID(LCSSAID)) assert(L->isLCSSAForm());
}
More information about the llvm-commits
mailing list