[PATCH] D157009: [SLP]Fix PR63854: Add proper sorting of pointers for masked stores.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 09:05:44 PDT 2023


ABataev created this revision.
ABataev added reviewers: RKSimon, reames.
Herald added subscribers: luke, vporpo, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
Herald added a project: All.
ABataev requested review of this revision.
Herald added subscribers: wangpc, MaskRay.
Herald added a project: LLVM.

If the masked gathers can be reordered, it may produce strided access
pattern and the reordering does not affect common reodering, better to
try to reorder masked gathers for better performance.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157009

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/RISCV/strided-loads.ll
  llvm/test/Transforms/SLPVectorizer/X86/gep-nodes-with-non-gep-inst.ll
  llvm/test/Transforms/SLPVectorizer/X86/remark_gather-load-redux-cost.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157009.546900.patch
Type: text/x-patch
Size: 22710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230803/0c6e59e6/attachment.bin>


More information about the llvm-commits mailing list