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

Dorit Nuzman via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 00:55:43 PDT 2016


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

Updated as agreed above: use Assume=false,ShouldCheckWrap=false initially; revisit groups with gaps later with Assume=false,ShouldCheckWrap=true;  
Added an xfailing testcase where we have gaps and need Assume=true in order to prove that the stride is 2.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25276.75112.patch
Type: text/x-patch
Size: 10032 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161019/e4147d9b/attachment.bin>


More information about the llvm-commits mailing list