[all-commits] [llvm/llvm-project] ba1d90: [RISCV] Set mayRaiseFPException = 0 on FCVT_D_W(U)...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Mar 27 07:46:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba1d9019675d6a215626104f726d151c622619f5
      https://github.com/llvm/llvm-project/commit/ba1d9019675d6a215626104f726d151c622619f5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-03-27 (Thu, 27 Mar 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoD.td
    M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/itofp-rv32.mir
    M llvm/test/CodeGen/RISCV/double-imm.ll
    M llvm/test/CodeGen/RISCV/frm-dependency.ll

  Log Message:
  -----------
  [RISCV] Set mayRaiseFPException = 0 on FCVT_D_W(U). (#133200)

The input is an integer which can't be NAN so the NV(invalid) exception
can't be raised. The conversion is exact so it can't raise NX(inexact),
UF(underflow), or OF(overflow). The instructions are not divide so they
can't raise DZ(divide by zero).

Fixes #133192.



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