[all-commits] [llvm/llvm-project] 2040c1: [CSInfo][MIPS] Update CSInfo in delay slot filler

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Mon Jan 18 06:30:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2040c1110b661caae7999abc0158a7f57a6400fb
      https://github.com/llvm/llvm-project/commit/2040c1110b661caae7999abc0158a7f57a6400fb
  Author: Djordje Todorovic <djordje.todorovic at syrmia.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
    A llvm/test/DebugInfo/MIR/Mips/call-site-info-update-delay-slot-filler.mir

  Log Message:
  -----------
  [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




More information about the All-commits mailing list