[all-commits] [llvm/llvm-project] 9dfdbd: [SLP]Improve tryToGatherExtractElements by using p...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Fri Nov 3 10:44:23 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9dfdbd788707edc8c39eb2bff16004aba1f3586b
https://github.com/llvm/llvm-project/commit/9dfdbd788707edc8c39eb2bff16004aba1f3586b
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-11-03 (Fri, 03 Nov 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/extractelements-to-shuffle.ll
M llvm/test/Transforms/SLPVectorizer/X86/crash_clear_undefs.ll
M llvm/test/Transforms/SLPVectorizer/X86/hadd-inseltpoison.ll
M llvm/test/Transforms/SLPVectorizer/X86/hadd.ll
M llvm/test/Transforms/SLPVectorizer/X86/hsub-inseltpoison.ll
M llvm/test/Transforms/SLPVectorizer/X86/hsub.ll
M llvm/test/Transforms/SLPVectorizer/X86/reused-extractelements.ll
Log Message:
-----------
[SLP]Improve tryToGatherExtractElements by using per-register analysis.
Currently tryToGatherExtractElements function analyzes the whole vector,
regrdless number of actual registers, used in this vector. It may
prevent some optimizations, because per-register analysis may allow to
simplify the final code by reusing more already emitted vectors and
better shuffles.
Differential Revision: https://reviews.llvm.org/D148855
More information about the All-commits
mailing list