[all-commits] [llvm/llvm-project] 5a08ac: [LegalizeTypes] Support softening FMINIMUM/FMAXIMU...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Sat Nov 9 02:02:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a08acc1e7874a6cb4b273988b83e587e6fea605
      https://github.com/llvm/llvm-project/commit/5a08acc1e7874a6cb4b273988b83e587e6fea605
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2024-11-09 (Sat, 09 Nov 2024)

  Changed paths:
    M llvm/include/llvm/IR/RuntimeLibcalls.def
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/test/CodeGen/RISCV/float-maximum-minimum.ll

  Log Message:
  -----------
  [LegalizeTypes] Support softening FMINIMUM/FMAXIMUM (#115463)

Without this, you get an error "Do not know how to soften the result of
this operator!" when compiling for a soft float target.

The libcall names match those defined in glibc
<https://www.gnu.org/software/libc/manual/html_node/Misc-FP-Arithmetic.html>
and more recently added to LLVM's libc
<https://github.com/llvm/llvm-project/pull/86016>.



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