diff options
author | Owen Anderson <resistor@mac.com> | 2010-10-19 20:08:44 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-10-19 20:08:44 +0000 |
commit | a4fefc1949c1fa23225072d3cd0fa64e00980a80 (patch) | |
tree | 143daaf6197d25e23d53565a589c9fe7aec6f802 /llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | 2bb7c59356bebbf6feb5f036cf7ebe56160a81a2 (diff) | |
download | bcm5719-llvm-a4fefc1949c1fa23225072d3cd0fa64e00980a80.tar.gz bcm5719-llvm-a4fefc1949c1fa23225072d3cd0fa64e00980a80.zip |
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/LoopStrengthReduce.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp index b2c039d38db..3a4108af13b 100644 --- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -3793,11 +3793,11 @@ private: char LoopStrengthReduce::ID = 0; INITIALIZE_PASS_BEGIN(LoopStrengthReduce, "loop-reduce", "Loop Strength Reduction", false, false) -INITIALIZE_PASS_DEPENDENCY(LoopSimplify) -INITIALIZE_PASS_DEPENDENCY(DominanceFrontier) INITIALIZE_PASS_DEPENDENCY(DominatorTree) INITIALIZE_PASS_DEPENDENCY(ScalarEvolution) INITIALIZE_PASS_DEPENDENCY(IVUsers) +INITIALIZE_PASS_DEPENDENCY(LoopInfo) +INITIALIZE_PASS_DEPENDENCY(LoopSimplify) INITIALIZE_PASS_END(LoopStrengthReduce, "loop-reduce", "Loop Strength Reduction", false, false) |