projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ff2d31
)
Specify that indvars actually preserve LCSSA. This has been done for a while, but I
author
Owen Anderson
<resistor@mac.com>
Fri, 25 Aug 2006 03:32:13 +0000
(
03:32
+0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 25 Aug 2006 03:32:13 +0000
(
03:32
+0000)
forgot to put in the analysis usage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29867
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 efa587b221ec1b1e881cfcee8959a7aaef533705..cf2daa1ddc18b895ebae6fd81860866485388272 100644
(file)
--- a/
lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/
lib/Transforms/Scalar/IndVarSimplify.cpp
@@
-79,6
+79,7
@@
namespace {
AU.addRequired<ScalarEvolution>();
AU.addRequired<LoopInfo>();
AU.addPreservedID(LoopSimplifyID);
+ AU.addPreservedID(LCSSAID);
AU.setPreservesCFG();
}
private:
@@
-570,4
+571,6
@@
void IndVarSimplify::runOnLoop(Loop *L) {
#endif
DeleteTriviallyDeadInstructions(DeadInsts);
+
+ assert(L->isLCSSAForm());
}