[all-commits] [llvm/llvm-project] 6b1d13: [SLP]Fix PR101213: Reuse extractelement, only if i...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Tue Jul 30 16:03:13 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6b1d13761ac0c9857763e5f4c0ae554f076dd9b7
https://github.com/llvm/llvm-project/commit/6b1d13761ac0c9857763e5f4c0ae554f076dd9b7
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/extract-vectorized-operand.ll
Log Message:
-----------
[SLP]Fix PR101213: Reuse extractelement, only if its vector operand comes before new vector value.
When trying to reuse extractelement instruction, need to check that it
is inserted into proper position. Its original vector operand should
come before new vector value, otherwise new extractelement instruction
must be generated.
Fixes https://github.com/llvm/llvm-project/issues/101213
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list