[all-commits] [llvm/llvm-project] 6ca48e: [SLP]Fix costs calculations.
cilkplus via All-commits
all-commits at lists.llvm.org
Mon Jul 26 07:15:12 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6ca48efcf6e16adfcf33688d86de7bd2bb75a49a
https://github.com/llvm/llvm-project/commit/6ca48efcf6e16adfcf33688d86de7bd2bb75a49a
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/vec_list_bias-inseltpoison.ll
M llvm/test/Transforms/SLPVectorizer/X86/vec_list_bias.ll
Log Message:
-----------
[SLP]Fix costs calculations.
Need to fix several cost-related problems. The final type may be defined
incorrectly because of to early definition (we may end up with the wider
type), the CommonCost should not be redefined in ExtractElements
cost related calculations and the shuffle of the final insertelements
vectors should be calculated as a cost of single vector permutations
+ costs of two vector permutations for other n-1 incoming vectors.
Differential Revision: https://reviews.llvm.org/D106578
More information about the All-commits
mailing list