[all-commits] [llvm/llvm-project] ec06df: [SLP]Fix PR57447: Assertion `!getTreeEntry(V) && "...
Andrew V. Tischenko via All-commits
all-commits at lists.llvm.org
Tue Aug 30 12:31:26 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ec06df9459136ed538c07d32db16163999c350fe
https://github.com/llvm/llvm-project/commit/ec06df9459136ed538c07d32db16163999c350fe
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2022-08-30 (Tue, 30 Aug 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/scatter-vectorize-reused-pointer.ll
Log Message:
-----------
[SLP]Fix PR57447: Assertion `!getTreeEntry(V) && "Scalar already in tree!"' failed.
The pointer operands for the ScatterVectorize node may contain
non-instruction values and they are not checked for "already being
vectorized". Need to check that such pointers are already vectorized and
gather them instead of trying to build vectorize node to avoid compiler
crash.
Differential Revision: https://reviews.llvm.org/D132949
More information about the All-commits
mailing list