[all-commits] [llvm/llvm-project] 8c48d7: [SLP]Improve cost estimation/emission of externall...
cilkplus via All-commits
all-commits at lists.llvm.org
Thu Jun 3 10:28:14 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8c48d77cdfe5c286dc98b9bf06bd2939d00c4bb4
https://github.com/llvm/llvm-project/commit/8c48d77cdfe5c286dc98b9bf06bd2939d00c4bb4
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2021-06-03 (Thu, 03 Jun 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/PR38339.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/vectorize-free-extracts-inserts.ll
Log Message:
-----------
[SLP]Improve cost estimation/emission of externally used extractelements.
No need to recalculate the cost of extractelements, just no need to
compensate the cost of all extractelements, need to check before if this
is actually going to be removed at the vectorization. Also, no need to
generate new extractelement instruction, we may just regenerate the
original one. It may improve the final vectorization.
Differential Revision: https://reviews.llvm.org/D102933
More information about the All-commits
mailing list