[all-commits] [llvm/llvm-project] cf62ad: [SLP]Fix delete of the extractelement with users.
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Thu Apr 6 09:18:26 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf62adbbd83e593a893a27234636b939870c9658
https://github.com/llvm/llvm-project/commit/cf62adbbd83e593a893a27234636b939870c9658
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-04-06 (Thu, 06 Apr 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/extract-many-users-buildvector.ll
Log Message:
-----------
[SLP]Fix delete of the extractelement with users.
Made the condition for the erasing of the gathered extractelements
stricter, remove it only if it has single vectorized use, otherwise
leave it for instcombiner/instsimplify analysis.
More information about the All-commits
mailing list