diff options
author | Michael Kuperstein <michael.kuperstein@gmail.com> | 2016-04-18 23:55:01 +0000 |
---|---|---|
committer | Michael Kuperstein <michael.kuperstein@gmail.com> | 2016-04-18 23:55:01 +0000 |
commit | de16b44f74810286e2ff37c0c3ccdf053b689f30 (patch) | |
tree | e02b8ca65278580fa3f3485018d97d6fbc7f0454 /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | |
parent | 2526fca8d891dad669e3a425b84d30bc7aaeb234 (diff) | |
download | bcm5719-llvm-de16b44f74810286e2ff37c0c3ccdf053b689f30.tar.gz bcm5719-llvm-de16b44f74810286e2ff37c0c3ccdf053b689f30.zip |
Port DemandedBits to the new pass manager.
Differential Revision: http://reviews.llvm.org/D18679
llvm-svn: 266699
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index 2ce7a00a2e5..c6a910e641c 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -3407,7 +3407,7 @@ struct SLPVectorizer : public FunctionPass { LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo(); DT = &getAnalysis<DominatorTreeWrapperPass>().getDomTree(); AC = &getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F); - DB = &getAnalysis<DemandedBits>(); + DB = &getAnalysis<DemandedBitsWrapperPass>().getDemandedBits(); Stores.clear(); GEPs.clear(); @@ -3484,7 +3484,7 @@ struct SLPVectorizer : public FunctionPass { AU.addRequired<TargetTransformInfoWrapperPass>(); AU.addRequired<LoopInfoWrapperPass>(); AU.addRequired<DominatorTreeWrapperPass>(); - AU.addRequired<DemandedBits>(); + AU.addRequired<DemandedBitsWrapperPass>(); AU.addPreserved<LoopInfoWrapperPass>(); AU.addPreserved<DominatorTreeWrapperPass>(); AU.addPreserved<AAResultsWrapperPass>(); @@ -4575,7 +4575,7 @@ INITIALIZE_PASS_DEPENDENCY(TargetTransformInfoWrapperPass) INITIALIZE_PASS_DEPENDENCY(AssumptionCacheTracker) INITIALIZE_PASS_DEPENDENCY(ScalarEvolutionWrapperPass) INITIALIZE_PASS_DEPENDENCY(LoopSimplify) -INITIALIZE_PASS_DEPENDENCY(DemandedBits) +INITIALIZE_PASS_DEPENDENCY(DemandedBitsWrapperPass) INITIALIZE_PASS_END(SLPVectorizer, SV_NAME, lv_name, false, false) namespace llvm { |