[all-commits] [llvm/llvm-project] d2125e: [RISCV] Support STRICT_UINT_TO_FP and STRICT_SINT_...

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Tue Sep 17 07:22:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2125e1db6bc5c3c2db9e358a8b69e498455ee9d
      https://github.com/llvm/llvm-project/commit/d2125e1db6bc5c3c2db9e358a8b69e498455ee9d
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/half-convert-strict.ll

  Log Message:
  -----------
  [RISCV] Support STRICT_UINT_TO_FP and STRICT_SINT_TO_FP (#102503)

This patch adds support for the missing STRICT_UINT_TO_FP and
STRICT_SINT_TO_FP for riscv and adds a test case for rv32 which was
previously crashing.

The code is in line with how other strict_* nodes are handled
(e.g., getting op(1) instead of op(0) when it's a strict node, as op(0)
in a strict node is the entry token).



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