summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-08-07 14:03:17 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-08-07 14:03:17 +0000
commitfaace8f1f16503d2167b8c227e5eaab43390f6b5 (patch)
tree50f70100e5b8420dea863275de0cfecf313cdb80 /llvm/lib/CodeGen
parentb2f3fad40c07238825ea48f5e0a8956d49237396 (diff)
downloadbcm5719-llvm-faace8f1f16503d2167b8c227e5eaab43390f6b5.tar.gz
bcm5719-llvm-faace8f1f16503d2167b8c227e5eaab43390f6b5.zip
[SLP] General improvements of SLP vectorization process.
Summary: 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: 310255
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud