diff options
author | Anton Afanasyev <anton.a.afanasyev@gmail.com> | 2020-07-14 18:04:25 +0300 |
---|---|---|
committer | Anton Afanasyev <anton.a.afanasyev@gmail.com> | 2020-08-06 22:09:24 +0300 |
commit | a7478fab6ce82532c1545614362a3688e8a4ed36 (patch) | |
tree | f11206adf72c6dd1754981a16072893995038e3c /llvm/lib/CodeGen/BasicBlockSections.cpp | |
parent | 189ba3db8653eaefc191599dd60d9aa6b0127c44 (diff) | |
download | llvm-a7478fab6ce82532c1545614362a3688e8a4ed36.zip llvm-a7478fab6ce82532c1545614362a3688e8a4ed36.tar.gz llvm-a7478fab6ce82532c1545614362a3688e8a4ed36.tar.bz2 |
[SLP] Fix order of `insertelement`/`insertvalue` seed operands
Summary:
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
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D83779
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions