[all-commits] [llvm/llvm-project] 5bab59: [SLP]Try to vectorize scalars, being vectorized al...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Fri Sep 8 13:36:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5bab59de4463927d3680eee3762a9b27a53581e4
https://github.com/llvm/llvm-project/commit/5bab59de4463927d3680eee3762a9b27a53581e4
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-09-08 (Fri, 08 Sep 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/scatter-vectorize-reused-pointer.ll
Log Message:
-----------
[SLP]Try to vectorize scalars, being vectorized already, but does not need to be scheduled.
If the scalar does not need to be scheduled and it was vectorized
already in one of the vector nodes, we still can try to vectorize it in
another node. Just does not need account its cost in the scalar total
cost, as it will be handled in the main vectorized node.
Differential Revision: https://reviews.llvm.org/D159205
More information about the All-commits
mailing list