[all-commits] [llvm/llvm-project] 7c963f: [SLP]Use revectorized value for extracts from buil...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Wed Jan 3 10:53:32 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c963fde16d8ba340d6a6ed044b9c775f9bfab48
https://github.com/llvm/llvm-project/commit/7c963fde16d8ba340d6a6ed044b9c775f9bfab48
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-01-03 (Wed, 03 Jan 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/gather_extract_from_vectorbuild.ll
Log Message:
-----------
[SLP]Use revectorized value for extracts from buildvector, beeing
vectorized.
If the insertelement instruction is vectorized, and the extractelement
instruction from such insertelement also vectorized as part of the same
tree, need to extract from the corresponding for insertelement vectorized value rather than original insertelement instruction.
More information about the All-commits
mailing list