[PATCH] D101297: [SLP]Allow masked gathers only if allowed by target.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 26 07:41:46 PDT 2021
ABataev created this revision.
ABataev added reviewers: spatel, RKSimon.
Herald added a subscriber: hiraditya.
ABataev requested review of this revision.
Herald added a project: LLVM.
Need to check if target allows/supports masked gathers before trying to
emit it, otherwise may generate less performant code for the targets
where masked gathers are slower than regular gathers.
Part of D57059 <https://reviews.llvm.org/D57059>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101297
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/lookahead.ll
llvm/test/Transforms/SLPVectorizer/X86/pr47623.ll
llvm/test/Transforms/SLPVectorizer/X86/pr47629-inseltpoison.ll
llvm/test/Transforms/SLPVectorizer/X86/pr47629.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101297.340525.patch
Type: text/x-patch
Size: 105405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210426/a033e637/attachment-0001.bin>
More information about the llvm-commits
mailing list