[PATCH] D104750: [LV] Support Interleaved Store Group With Gaps

Dorit Nuzman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 22 14:35:22 PDT 2021


dorit created this revision.
dorit added reviewers: Ayal, fhahn.
Herald added a subscriber: hiraditya.
dorit requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Teach LV to use masked-store to support interleave-store-group with gaps (instead of scatters/scalarization).

The symmetric case of using masked-load to support interleaved-load-group with gaps was introduced a while ago, by https://reviews.llvm.org/D53668; 
This patch completes the store-scenario leftover from D53668 <https://reviews.llvm.org/D53668>, and solves PR50566.


https://reviews.llvm.org/D104750

Files:
  llvm/include/llvm/Analysis/VectorUtils.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/lib/Analysis/VectorUtils.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/X86/x86-interleaved-store-accesses-with-gaps.ll
  llvm/test/Transforms/LoopVectorize/interleaved-accesses-masked-group.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104750.353786.patch
Type: text/x-patch
Size: 48731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210622/6ecf6bdd/attachment.bin>


More information about the llvm-commits mailing list