[SLP]Add final resize to ShuffleCostEstimator::finalize member function and basic...
authorAlexey Bataev <a.bataev@outlook.com>
Thu, 13 Apr 2023 18:28:54 +0000 (11:28 -0700)
committerAlexey Bataev <a.bataev@outlook.com>
Tue, 18 Apr 2023 18:52:04 +0000 (11:52 -0700)
commit1ce4b26a21a0b7a263f9ddc14827d79a87fb2542
treef87bc825e8b01b5e754c551d2a0e1cb3af1f5644
parent447d59e071227897207a3cf76e43746e5ce0ab10
[SLP]Add final resize to ShuffleCostEstimator::finalize member function and basic add member functions.

Implemented the reshuffling in finalize member function + add basic
support for add member functions, used during vector build.

Part of D110978

Differential Revision: https://reviews.llvm.org/D148279
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll