aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/LoopDeletion.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-10-19 20:08:44 +0000
committerOwen Anderson <resistor@mac.com>2010-10-19 20:08:44 +0000
commita4fefc1949c1fa23225072d3cd0fa64e00980a80 (patch)
tree143daaf6197d25e23d53565a589c9fe7aec6f802 /llvm/lib/Transforms/Scalar/LoopDeletion.cpp
parent2bb7c59356bebbf6feb5f036cf7ebe56160a81a2 (diff)
downloadllvm-a4fefc1949c1fa23225072d3cd0fa64e00980a80.zip
llvm-a4fefc1949c1fa23225072d3cd0fa64e00980a80.tar.gz
llvm-a4fefc1949c1fa23225072d3cd0fa64e00980a80.tar.bz2
Passes do not need to recursively initialize passes that they preserve, if
they do not also require them. This allows us to reduce inter-pass linkage dependencies. llvm-svn: 116854
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopDeletion.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopDeletion.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopDeletion.cpp b/llvm/lib/Transforms/Scalar/LoopDeletion.cpp
index ba98594..cf68ddd 100644
--- a/llvm/lib/Transforms/Scalar/LoopDeletion.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopDeletion.cpp
@@ -64,7 +64,6 @@ INITIALIZE_PASS_DEPENDENCY(LoopInfo)
INITIALIZE_PASS_DEPENDENCY(ScalarEvolution)
INITIALIZE_PASS_DEPENDENCY(LoopSimplify)
INITIALIZE_PASS_DEPENDENCY(LCSSA)
-INITIALIZE_PASS_DEPENDENCY(DominanceFrontier)
INITIALIZE_PASS_END(LoopDeletion, "loop-deletion",
"Delete dead loops", false, false)