[all-commits] [llvm/llvm-project] cf792f: [SLP]Fix a crash for the replaced vectorized value.
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Thu Apr 27 09:35:25 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf792f664a75ea2b45962e81ea4487fc44b00232
https://github.com/llvm/llvm-project/commit/cf792f664a75ea2b45962e81ea4487fc44b00232
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/postponed_gathers.ll
Log Message:
-----------
[SLP]Fix a crash for the replaced vectorized value.
If two nodes share the same value, which is replaced in one of the
nodes, need to automatically replace same value in all nodes. Btter to
use WeakTrackingVH for this to fix compiler crash.
More information about the All-commits
mailing list