diff options
author | Djordje Todorovic <djordje.todorovic@syrmia.com> | 2021-01-18 15:26:40 +0100 |
---|---|---|
committer | Djordje Todorovic <djolertrk@gmail.com> | 2021-01-18 15:29:59 +0100 |
commit | 2040c1110b661caae7999abc0158a7f57a6400fb (patch) | |
tree | 3a15915121c1e6498a51e6e031074d099003a2e4 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | ead71a23edde5f8a1acfdd75bd01f1fa6e0c4014 (diff) | |
download | llvm-2040c1110b661caae7999abc0158a7f57a6400fb.zip llvm-2040c1110b661caae7999abc0158a7f57a6400fb.tar.gz llvm-2040c1110b661caae7999abc0158a7f57a6400fb.tar.bz2 |
[CSInfo][MIPS] Update CSInfo in delay slot filler
In MipsDelaySlotFiller, when replacing old call-branch with
the compact branch instruction, an assertion is caused by erasing
the old call with unhandled CSInfo.
The problem was reported in PR48695.
This patch fixes it, by moving call site info from the old call
instruction to its replace.
Patch by Nikola Tesic
Differential revision: https://reviews.llvm.org/D94685
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions