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:
96b651c
)
Loop Rotation pass preserves dominator tree and frontier.
author
Devang Patel
<dpatel@apple.com>
Mon, 30 Jul 2007 20:22:53 +0000
(20:22 +0000)
committer
Devang Patel
<dpatel@apple.com>
Mon, 30 Jul 2007 20:22:53 +0000
(20:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40603
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 d35a8edd3c4ded8086e544742a72faef3faf3a72..a9c3fb9533fa9abc9c770ebbdcd6c00aa63cbda1 100644
(file)
--- a/
lib/Transforms/Scalar/LoopRotation.cpp
+++ b/
lib/Transforms/Scalar/LoopRotation.cpp
@@
-62,6
+62,8
@@
namespace {
AU.addPreserved<LoopInfo>();
AU.addRequiredID(LoopSimplifyID);
AU.addPreservedID(LoopSimplifyID);
+ AU.addPreserved<DominatorTree>();
+ AU.addPreserved<DominanceFrontier>();
}
// Helper functions