[all-commits] [llvm/llvm-project] 1be342: [SLP]Fix PR58177: Improve isUndefVector function t...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Wed Oct 12 07:35:51 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1be3428ea05c5242fda64797538aa72c8d8f6376
https://github.com/llvm/llvm-project/commit/1be3428ea05c5242fda64797538aa72c8d8f6376
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/tsc-s116.ll
M llvm/test/Transforms/SLPVectorizer/X86/PR35865.ll
M llvm/test/Transforms/SLPVectorizer/X86/buildvector-shuffle.ll
M llvm/test/Transforms/SLPVectorizer/X86/insert-element-build-vector.ll
M llvm/test/Transforms/SLPVectorizer/X86/resched.ll
M llvm/test/Transforms/SLPVectorizer/X86/scatter-vectorize-reused-pointer.ll
M llvm/test/Transforms/SLPVectorizer/X86/split-load8_2-unord.ll
M llvm/test/Transforms/SLPVectorizer/X86/vec_list_bias_external_insert_shuffled.ll
Log Message:
-----------
[SLP]Fix PR58177: Improve isUndefVector function to avoid extra freeze.
Freeze instruction in some cases makes codegen worse, so need to be very
careful when emitting it. Instead improve analysis in isUndefVector
function to generate mask of unused elements and use it in the analysis.
Differential Revision: https://reviews.llvm.org/D135382
More information about the All-commits
mailing list