summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2013-10-12 18:29:15 +0000
committerTobias Grosser <tobias@grosser.es>2013-10-12 18:29:15 +0000
commitfe82a3e360fc850e7551f2f1f32b58e539182c68 (patch)
treec924353a11188097805a6e964d82e58f7747d337
parent18de809b0c8bb2e608b2e8cef5059480d3e24b9b (diff)
downloadllvm-fe82a3e360fc850e7551f2f1f32b58e539182c68.tar.gz
llvm-fe82a3e360fc850e7551f2f1f32b58e539182c68.tar.bz2
llvm-fe82a3e360fc850e7551f2f1f32b58e539182c68.tar.xz
LoopVectorize: Add missing INITIALIZE_PASS_DEPENDENCY macros
Contributed-by: Peter Zotov <whitequark@whitequark.org> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192536 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Vectorize/LoopVectorize.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp
index a34d5b3fe5..e85d4fc922 100644
--- a/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -4863,7 +4863,10 @@ char LoopVectorize::ID = 0;
static const char lv_name[] = "Loop Vectorization";
INITIALIZE_PASS_BEGIN(LoopVectorize, LV_NAME, lv_name, false, false)
INITIALIZE_AG_DEPENDENCY(TargetTransformInfo)
+INITIALIZE_PASS_DEPENDENCY(DominatorTree)
INITIALIZE_PASS_DEPENDENCY(ScalarEvolution)
+INITIALIZE_PASS_DEPENDENCY(LCSSA)
+INITIALIZE_PASS_DEPENDENCY(LoopInfo)
INITIALIZE_PASS_DEPENDENCY(LoopSimplify)
INITIALIZE_PASS_END(LoopVectorize, LV_NAME, lv_name, false, false)