[PATCH] D83779: [SLP] Fix order of `insertelement`/`insertvalue` seed operands
Anton Afanasyev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 14 08:18:14 PDT 2020
anton-afanasyev created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
This patch takes the indices operands of `insertelement`/`insertvalue`
into account while generation of seed elements for `findBuildAggregate()`.
This function has kept the original order of `insert`s before.
Also this patch optimizes `findBuildAggregate()` preventing it from
redundant temporary vector allocations and its multiple reversing.
Fixes llvm.org/pr44067
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83779
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83779.277839.patch
Type: text/x-patch
Size: 4388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200714/3a30ff2b/attachment.bin>
More information about the llvm-commits
mailing list