[all-commits] [llvm/llvm-project] ac254f: [SLP]Improve tryToGatherExtractElements by using p...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Mon Nov 6 07:32:23 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ac254fc055980219b30821c3717c6b7db0fbbc46
https://github.com/llvm/llvm-project/commit/ac254fc055980219b30821c3717c6b7db0fbbc46
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-11-06 (Mon, 06 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