llvm-project/llvm/test/Transforms/SLPVectorizer
Alexey Bataev ca2396e673 [SLP] Take user instructions cost into consideration in insertelement vectorization.
Summary:
For better vectorization result we should take into consideration the
cost of the user insertelement instructions when we try to
vectorize sequences that build the whole vector. I.e. if we have the
following scalar code:
```
<Scalar code>
insertelement <ScalarCode>, ...
```
we should consider the cost of the last `insertelement ` instructions as
the cost of the scalar code.

Reviewers: RKSimon, spatel, hfinkel, mkuper

Subscribers: javed.absar, llvm-commits

Differential Revision: https://reviews.llvm.org/D42657

llvm-svn: 324893
2018-02-12 14:54:48 +00:00
..
AArch64 [SLP] Take user instructions cost into consideration in insertelement vectorization. 2018-02-12 14:54:48 +00:00
AMDGPU AMDGPU: Allow vectorization of packed types 2017-06-20 20:38:06 +00:00
ARM [SLPVectorizer] add test for PR13837; NFC 2018-01-23 22:04:17 +00:00
PowerPC [SLP] Update tests checks, NFC. 2018-01-05 14:40:04 +00:00
SystemZ Revert r319531 "[SLPVectorizer] Failure to beneficially vectorize 'copyable' elements in integer binary ops." 2017-12-01 16:17:24 +00:00
X86 [SLP] Take user instructions cost into consideration in insertelement vectorization. 2018-02-12 14:54:48 +00:00
XCore
int_sideeffect.ll Add an @llvm.sideeffect intrinsic 2017-11-08 21:59:51 +00:00