[PATCH] D119679: [SLP] Prohibit vectorization of externally used intermediate insertelements
Anton Afanasyev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 13 13:12:02 PST 2022
anton-afanasyev created this revision.
anton-afanasyev added reviewers: ABataev, RKSimon, dtemirbulatov.
Herald added a subscriber: hiraditya.
anton-afanasyev requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Break vectorization of insertelements where some of intermediate
(i.e. not last) insertelements are used externally. We do this
at `buildTree()` stage.
Fixes PR52275
Fixes #51617
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119679
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/pr52275.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119679.408292.patch
Type: text/x-patch
Size: 13358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220213/f084b64f/attachment.bin>
More information about the llvm-commits
mailing list