[PATCH] D101460: [SLP]Try to vectorize tiny trees with shuffled gathers of extractelements.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 28 07:32:45 PDT 2021


ABataev created this revision.
ABataev added reviewers: spatel, RKSimon, dtemirbulatov, anton-afanasyev.
Herald added a subscriber: hiraditya.
ABataev requested review of this revision.
Herald added a project: LLVM.

If we gather extract elements and they actually are just shuffles, it
might be profitable to vectorize them even if the tree is tiny.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101460

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions-inseltpoison.ll
  llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll
  llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll
  llvm/test/Transforms/SLPVectorizer/X86/alternate-cast-inseltpoison.ll
  llvm/test/Transforms/SLPVectorizer/X86/alternate-cast.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101460.341200.patch
Type: text/x-patch
Size: 50783 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210428/9227a1fd/attachment.bin>


More information about the llvm-commits mailing list