[PATCH] D25276: [LoopVectorizer] Interleaved-mem-accesses analysis and getPtrStride

Dorit Nuzman via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 14:55:31 PDT 2016


dorit updated this revision to Diff 75796.
dorit added a comment.

The updated version adds the following:

- avoid XFAIL in a new test
- use Assume=true in collectConstStrideAccesses + add a testcase that requires that and that tests group invalidation in that scenario
- check only the first and last members of the group instead of checking all the members
- further optimization ideas that came up here were added as a TODO comment.


https://reviews.llvm.org/D25276

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/gather-cost.ll
  llvm/test/Transforms/LoopVectorize/ARM/gather-cost.ll
  llvm/test/Transforms/LoopVectorize/interleaved-accesses-1.ll
  llvm/test/Transforms/LoopVectorize/interleaved-accesses-2.ll
  llvm/test/Transforms/LoopVectorize/interleaved-accesses-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25276.75796.patch
Type: text/x-patch
Size: 14219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161025/d6b27b74/attachment-0001.bin>


More information about the llvm-commits mailing list