aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/LICM.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
commit205942a4a55d568e93480fc22d25cc7dac525fb7 (patch)
treeb3679b922a725b7a7fbeda0216684c14298fd800 /lib/Transforms/Scalar/LICM.cpp
parent575cd148cedec66af0adc266c5d7ecdbe1641d7e (diff)
downloadexternal_llvm-205942a4a55d568e93480fc22d25cc7dac525fb7.zip
external_llvm-205942a4a55d568e93480fc22d25cc7dac525fb7.tar.gz
external_llvm-205942a4a55d568e93480fc22d25cc7dac525fb7.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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LICM.cpp')
-rw-r--r--lib/Transforms/Scalar/LICM.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp
index 3fe256d..666f402 100644
--- a/lib/Transforms/Scalar/LICM.cpp
+++ b/lib/Transforms/Scalar/LICM.cpp
@@ -207,7 +207,6 @@ char LICM::ID = 0;
INITIALIZE_PASS_BEGIN(LICM, "licm", "Loop Invariant Code Motion", false, false)
INITIALIZE_PASS_DEPENDENCY(DominatorTree)
INITIALIZE_PASS_DEPENDENCY(LoopInfo)
-INITIALIZE_PASS_DEPENDENCY(ScalarEvolution)
INITIALIZE_PASS_DEPENDENCY(LoopSimplify)
INITIALIZE_AG_DEPENDENCY(AliasAnalysis)
INITIALIZE_PASS_END(LICM, "licm", "Loop Invariant Code Motion", false, false)