[PATCH] D101297: [SLP]Allow masked gathers only if allowed by target.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 27 13:15:49 PDT 2021
ABataev updated this revision to Diff 340965.
ABataev added a comment.
Changed the way we estimate the cost of ScatterVectorize nodes, if the masked gather is not legal it will be lowered to a gather, so need to estimate a cost to gather too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101297/new/
https://reviews.llvm.org/D101297
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
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.340965.patch
Type: text/x-patch
Size: 92224 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210427/ec800a09/attachment.bin>
More information about the llvm-commits
mailing list