[PATCH] D100495: [SLP]Add detectyion of shuffled/perfect matching of tree entries.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 14 11:16:38 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.
SLP supports perfect diamond matching for the vectorized tree entries
but do not support it for gathered entries and does not support
non-perfect (shuffled) matching with 1 or 2 tree entries. Patch adds
support for this matching to improve cost of the vectorized tree.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100495
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/AArch64/gather-cost.ll
llvm/test/Transforms/SLPVectorizer/X86/matched-shuffled-entries.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100495.337501.patch
Type: text/x-patch
Size: 18855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210414/d330805d/attachment.bin>
More information about the llvm-commits
mailing list