projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b9ca926
)
Add an assertion to check that we're really preserving LCSSA.
author
Owen Anderson
<resistor@mac.com>
Fri, 25 Aug 2006 22:12:36 +0000
(22:12 +0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 25 Aug 2006 22:12:36 +0000
(22:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29886
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/IndVarSimplify.cpp
b/lib/Transforms/Scalar/IndVarSimplify.cpp
index a8d90ced00eaddc5b98a7d7bd2f88a0174563a2c..4287bd085aa5a4b07a99e98bb5b099ebd810e268 100644
(file)
--- a/
lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/
lib/Transforms/Scalar/IndVarSimplify.cpp
@@
-571,4
+571,6
@@
void IndVarSimplify::runOnLoop(Loop *L) {
#endif
DeleteTriviallyDeadInstructions(DeadInsts);
+
+ if (mustPreserveAnalysisID(LCSSAID)) assert(L->isLCSSAForm());
}