[all-commits] [llvm/llvm-project] f70150: [SLP]Improve vectorization of phi nodes by trying ...
cilkplus via All-commits
all-commits at lists.llvm.org
Tue Sep 28 07:22:03 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f701505c45c708338202532f0f14af55b5509794
https://github.com/llvm/llvm-project/commit/f701505c45c708338202532f0f14af55b5509794
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/vectorize-widest-phis.ll
Log Message:
-----------
[SLP]Improve vectorization of phi nodes by trying wider vectors.
Try to improve vectorization of the PHI nodes by trying to vectorize
similar instructions at the size of the widest possible vectors, then
aggregating with compatible type PHIs and trying to vectoriza again and
only if this failed, try smaller sizes of the vector factors for
compatible PHI nodes. This restores performance of several benchmarks
after tuning of the fp/int conversion instructions costs.
Differential Revision: https://reviews.llvm.org/D108740
More information about the All-commits
mailing list