[PATCH] D114087: [SLP]Improve registering and merging of compatible shuffles.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 17 06:45:03 PST 2021


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

If several shuffle instructions are emitted, some of them might
same/compatible (less defined) with the previously emitted ones. Such
shuffles can be removed safely, improving the total cost of the
vectorized code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114087

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/X86/diamond_broadcast_extra_shuffle.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114087.387932.patch
Type: text/x-patch
Size: 11464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211117/60fac413/attachment.bin>


More information about the llvm-commits mailing list