aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2022-11-16 06:30:47 -0800
committerAlexey Bataev <a.bataev@outlook.com>2022-11-16 07:38:49 -0800
commit2f8f17c157825bd2310b4e5725f0f9d75996ef52 (patch)
tree67f7f289f83e8ffe62d2bdaeb3e5435c6d97b14e /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent8fbb6f8678a08047b2a2186ff447160f56adbce8 (diff)
downloadllvm-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