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

Matthew Simpson via llvm-commits llvm-commits at lists.llvm.org
Thu May 5 14:00:53 PDT 2016


mssimpso updated this revision to Diff 56342.
mssimpso added a comment.

Rebased on top of http://reviews.llvm.org/D19984

With this revision, we collect all accesses in the loop, even those in the predicated blocks, so we can account for any dependences (http://reviews.llvm.org/D19984). We prevent forming interleaved groups with predicated accesses unless the accesses are in the same block. I've also added Silviu's code example as a new test case.


http://reviews.llvm.org/D19694

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/interleaved-accesses-pred-stores.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19694.56342.patch
Type: text/x-patch
Size: 5026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160505/04d3111f/attachment.bin>


More information about the llvm-commits mailing list