[PATCH] D19694: [LV] Allow interleaved accesses in loops with predicated blocks

silviu.baranga@arm.com via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 8 10:47:54 PDT 2016


sbaranga added inline comments.

================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:5438
@@ +5437,3 @@
+      auto *BlockB = B->getParent();
+      if (BlockA != BlockB && (isPredicated(BlockA) || isPredicated(BlockB)))
+        continue;
----------------
Could we also have a test where all the accesses in a group are predicated and in the same block? In this case would all the predicated accesses be scalarized as well? (there might be some issues with out of bounds accesses from the wide load/store and the scalar epilogue if that's not the case)



http://reviews.llvm.org/D19694





More information about the llvm-commits mailing list