summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorKeno Fischer <kfischer@college.harvard.edu>2016-03-14 20:04:24 +0000
committerKeno Fischer <kfischer@college.harvard.edu>2016-03-14 20:04:24 +0000
commita91ae8336baacfa189c23a055e540ff34ece340c (patch)
treedd6d5caff8870dd51394666380dbfc52c0da6939 /llvm
parentbe57dfa75df8c6a33c981adc2d8d82d21b44f40d (diff)
downloadbcm5719-llvm-a91ae8336baacfa189c23a055e540ff34ece340c.tar.gz
bcm5719-llvm-a91ae8336baacfa189c23a055e540ff34ece340c.zip
[SLPVectorizer] Fix dependency list
Summary: DemandedBits was added to the requirements of SLPVectorizer in rL261212 (and various earlier version of it), but the appropriate initialization statement was accidentally forgotten. Ref [[ https://github.com/JuliaLang/julia/issues/14998 | JuliaLang/julia#14998 ]]. Patch by Yichao Yu. Reviewers: mssimpso Differential Revision: http://reviews.llvm.org/D18152 llvm-svn: 263476
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index a90bd09326a..441888b93b1 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -4575,6 +4575,7 @@ INITIALIZE_PASS_DEPENDENCY(TargetTransformInfoWrapperPass)
INITIALIZE_PASS_DEPENDENCY(AssumptionCacheTracker)
INITIALIZE_PASS_DEPENDENCY(ScalarEvolutionWrapperPass)
INITIALIZE_PASS_DEPENDENCY(LoopSimplify)
+INITIALIZE_PASS_DEPENDENCY(DemandedBits)
INITIALIZE_PASS_END(SLPVectorizer, SV_NAME, lv_name, false, false)
namespace llvm {
OpenPOWER on IntegriCloud