[PATCH] D19694: [LV] Only bail on interleaved accesses in predicated blocks

silviu.baranga@arm.com via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 03:22:31 PDT 2016


sbaranga added inline comments.

================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:5056
@@ -5055,3 +5055,3 @@
   collectConstStridedAccesses(StrideAccesses, Strides);
 
   if (StrideAccesses.empty())
----------------
With that change, analyzeInterleaving won't see all the loads/stores (as the predicated ones get skipped). Would this have any impact on the correctness of the analysis (it might be ok, but it's worth thinking about it).


http://reviews.llvm.org/D19694





More information about the llvm-commits mailing list