[PATCH] D18152: Fix dependency list of SLPVectorizer

Yichao Yu via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 10:33:30 PDT 2016


yuyichao created this revision.
yuyichao added reviewers: loladiro, mssimpso.
yuyichao added a subscriber: llvm-commits.
Herald added a subscriber: mzolotukhin.

I believe this is caused by R261212 (and various earlier version of it). Ref [[ https://github.com/JuliaLang/julia/issues/14998 | JuliaLang/julia#14998 ]].

I'm happy to add test but couldn't find a suitable place or a similar test.


http://reviews.llvm.org/D18152

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp

Index: lib/Transforms/Vectorize/SLPVectorizer.cpp
===================================================================
--- lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -4575,6 +4575,7 @@
 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 {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18152.50615.patch
Type: text/x-patch
Size: 514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160314/ed8ac678/attachment.bin>


More information about the llvm-commits mailing list