diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2022-11-16 06:30:47 -0800 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2022-11-16 07:38:49 -0800 |
commit | 2f8f17c157825bd2310b4e5725f0f9d75996ef52 (patch) | |
tree | 67f7f289f83e8ffe62d2bdaeb3e5435c6d97b14e /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 8fbb6f8678a08047b2a2186ff447160f56adbce8 (diff) | |
download | llvm-2f8f17c157825bd2310b4e5725f0f9d75996ef52.zip llvm-2f8f17c157825bd2310b4e5725f0f9d75996ef52.tar.gz llvm-2f8f17c157825bd2310b4e5725f0f9d75996ef52.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions