[all-commits] [llvm/llvm-project] bc2a5b: [RISCV] Explicitly set FRM defs as non-dead to pre...

Sergey Kachkov via All-commits all-commits at lists.llvm.org
Fri Apr 11 05:08:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc2a5b5466cd3d0698830301f2594a136522c7e5
      https://github.com/llvm/llvm-project/commit/bc2a5b5466cd3d0698830301f2594a136522c7e5
  Author: Sergey Kachkov <109674256+skachkov-sc at users.noreply.github.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/test/CodeGen/RISCV/frm-write-in-loop.ll

  Log Message:
  -----------
  [RISCV] Explicitly set FRM defs as non-dead to prevent their reordering with instructions that may use it (#135176)

Fixes #135172. The proposed solution is to conservatively reset dead
flag from all $frm defs in AdjustInstrPostInstrSelection.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list