[all-commits] [llvm/llvm-project] 2f8f17: [SLP]Fix PR58956: fix insertpoint for reduced buil...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Wed Nov 16 07:40:03 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2f8f17c157825bd2310b4e5725f0f9d75996ef52
https://github.com/llvm/llvm-project/commit/2f8f17c157825bd2310b4e5725f0f9d75996ef52
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2022-11-16 (Wed, 16 Nov 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/AArch64/buildvector-reduce.ll
Log Message:
-----------
[SLP]Fix PR58956: fix insertpoint for reduced buildvector graphs.
If the graph is only the buildvector node without main operation, need
to inherit insrtpoint from the redution instruction. Otherwise the
compiler crashes trying to insert instruction at the entry block.
More information about the All-commits
mailing list