llvm-project/llvm/test/Transforms/SLPVectorizer/ARM
Anton Afanasyev ab2c499d3a [SLP] Add insertelement instructions to vectorizable tree
Add new type of tree node for `InsertElementInst` chain forming vector.
These instructions could be either removed, or replaced by shuffles during
vectorization and we can add this node to cost model, so naturally estimating
their cost, getting rid of `CompensateCost` tricks and reducing further work
for InstCombine. This fixes PR40522 and PR35732 in a natural way. Also this
patch is the first step towards revectorization of partially vectorization
(to fix PR42022 completely). After adding inserts to tree the next step is
to add vector instructions there (for instance, to merge `store <2 x float>`
and `store <2 x float>` to `store <4 x float>`).

Fixes PR40522 and PR35732.

Differential Revision: https://reviews.llvm.org/D98714
2021-05-13 07:41:45 +03:00
..
extract-insert-inseltpoison.ll [SLP] Add insertelement instructions to vectorizable tree 2021-05-13 07:41:45 +03:00
extract-insert.ll [SLP] Add insertelement instructions to vectorizable tree 2021-05-13 07:41:45 +03:00
lit.local.cfg
memory.ll
sroa.ll