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:
658f625
)
Request DominanceFrontiner in advance.
author
Devang Patel
<dpatel@apple.com>
Fri, 6 Jul 2007 21:43:22 +0000
(21:43 +0000)
committer
Devang Patel
<dpatel@apple.com>
Fri, 6 Jul 2007 21:43:22 +0000
(21:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37954
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopRotation.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopRotation.cpp
b/lib/Transforms/Scalar/LoopRotation.cpp
index 807d463abb8351b92f9a9ac9805e488018582cf7..2a7b06c6c3fe201adf599812df4cfd866bd0cb17 100644
(file)
--- a/
lib/Transforms/Scalar/LoopRotation.cpp
+++ b/
lib/Transforms/Scalar/LoopRotation.cpp
@@
-63,6
+63,11
@@
namespace {
AU.addRequiredID(LoopSimplifyID);
AU.addPreservedID(LoopSimplifyID);
AU.addPreserved<DominatorTree>();
+ // Request DominanceFrontier now, even though Loop Rotate does
+ // not use it. This allows Pass Manager to schedule Dominance
+ // Frontier early enough such that one LPPassManager can handle
+ // loop rotate as well as licm pass.
+ AU.addRequired<DominanceFrontier>();
AU.addPreserved<DominanceFrontier>();
}