[all-commits] [llvm/llvm-project] d71ad4: [SLP]Fix insertpoint of the extractellements instr...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Wed Oct 12 08:19:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d71ad4108056d685f48407447095d8d92fd7685d
https://github.com/llvm/llvm-project/commit/d71ad4108056d685f48407447095d8d92fd7685d
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
A llvm/test/Transforms/SLPVectorizer/X86/extractelement-insertpoint.ll
Log Message:
-----------
[SLP]Fix insertpoint of the extractellements instructions to avoid reshuffle crash.
Need to set the insertpoint for extractelement to point to the first
instruction in the node to avoid possible crash during external uses
combine process. Without it we may endup with the incorrect
transformation.
Differential Revision: https://reviews.llvm.org/D135591
More information about the All-commits
mailing list