[all-commits] [llvm/llvm-project] d8f966: [RISCV] Rename RISCVISD::FMINNUM_VL/FMAXNUM_VL to ...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Aug 2 11:53:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8f9663f1a5aa0732b35e699d6a2ebe0c8f1f21e
      https://github.com/llvm/llvm-project/commit/d8f9663f1a5aa0732b35e699d6a2ebe0c8f1f21e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-08-02 (Wed, 02 Aug 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

  Log Message:
  -----------
  [RISCV] Rename RISCVISD::FMINNUM_VL/FMAXNUM_VL to VFMIN_VL/VFMAX_VL. NFC

I want these to have RISC-V semantics not LLVM IR semantics. Specifically
that -0.0 comes before +0.0.

This is needed to emulate FMAXIMUM/FMINIMUM for vectors.




More information about the All-commits mailing list