[PATCH] D127219: [SLP]Extend vectorization for scatter vectorize nodes.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 08:09:48 PDT 2022


ABataev created this revision.
ABataev added reviewers: RKSimon, vdmitrie.
Herald added subscribers: vporpo, mgrang, hiraditya.
Herald added a project: All.
ABataev requested review of this revision.
Herald added a project: LLVM.

Currently scatter vectorize nodes can be emitted only for GEPs with
constant indices. But we can also emit such nodes for GEPs with the same
ptr and non-constant vectorizable/gathered indices, if profitable. Patch
adds support for such nodes and tries to improve handling of GEPs with
non-const indeces for such nodes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127219

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/X86/split-load8_2_unord_geps.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127219.434820.patch
Type: text/x-patch
Size: 13797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220607/785bc6ea/attachment.bin>


More information about the llvm-commits mailing list