llvm-project/llvm/test/Transforms/SLPVectorizer
Alexey Bataev 9581b42589 [SLP] General improvements of SLP vectorization process.
Patch tries to improve two-pass vectorization analysis, existing in SLP vectorizer. What it does:

1. Defines key nodes, that are the vectorization roots. Previously vectorization started if StoreInst or ReturnInst is found. For now, the vectorization started for all Instructions with no users and void types (Terminators, StoreInst) + CallInsts.
2. CmpInsts, InsertElementInsts and InsertValueInsts are stored in the
array. This array is processed only after the vectorization of the
first-after-these instructions key node is finished. Vectorization goes
in reverse order to try to vectorize as much code as possible.

Reviewers: mzolotukhin, Ayal, mkuper, gilr, hfinkel, RKSimon

Subscribers: ashahid, anemet, RKSimon, mssimpso, llvm-commits

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

llvm-svn: 310260
2017-08-07 15:25:49 +00:00
..
AArch64 [SLP] General improvements of SLP vectorization process. 2017-08-07 15:25:49 +00:00
AMDGPU AMDGPU: Allow vectorization of packed types 2017-06-20 20:38:06 +00:00
ARM
PowerPC [SLP] Pass in correct alignment when query memory access cost 2016-05-31 20:41:19 +00:00
SystemZ Fix a RUN line in new test. 2017-04-12 14:25:08 +00:00
X86 [SLP] General improvements of SLP vectorization process. 2017-08-07 15:25:49 +00:00
XCore