[all-commits] [llvm/llvm-project] 48bbd7: [SLP]Fix PR79229: Check that extractelement is use...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Wed Jan 24 11:29:53 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 48bbd7658710ef1699bf2a6532ff5830230aacc5
https://github.com/llvm/llvm-project/commit/48bbd7658710ef1699bf2a6532ff5830230aacc5
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-01-24 (Wed, 24 Jan 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/extractelement-single-use-many-nodes.ll
Log Message:
-----------
[SLP]Fix PR79229: Check that extractelement is used only in a single node
before erasing.
Before trying to erase the extractelement instruction, not enough to
check for single use, need to check that it is not used in several nodes
because of the preliminary nodes reordering.
More information about the All-commits
mailing list