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:
46d5bca
)
Make sure to cannonicalize loops before running indvar simplify
author
Chris Lattner
<sabre@nondot.org>
Fri, 12 Sep 2003 16:45:01 +0000
(16:45 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 12 Sep 2003 16:45:01 +0000
(16:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8502
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 c96eaf0f52b6e7352e4355a350d7aa0067590c0b..814f452497ed3d9267952d21d351603a5fbf3995 100644
(file)
--- a/
lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/
lib/Transforms/Scalar/IndVarSimplify.cpp
@@
-193,6
+193,7
@@
namespace {
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<LoopInfo>();
+ AU.addRequiredID(LoopPreheadersID);
AU.setPreservesCFG();
}
};