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

Dorit Nuzman via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 05:20:43 PDT 2016


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

Thanks, Silviu! Relying on the peeling does come in handy here!

The new version looks at members 0 and factor-1 instead of scanning the group to find the actual first and last members.


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.75855.patch
Type: text/x-patch
Size: 14230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161026/3691bf5e/attachment.bin>


More information about the llvm-commits mailing list