[all-commits] [llvm/llvm-project] 58cfd5: [VP][RISCV] Introduce llvm.vp.minimum/maximum intr...

Simeon K via All-commits all-commits at lists.llvm.org
Mon Jan 22 16:46:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58cfd56356ed96690150245ca5bcf646d12edc7a
      https://github.com/llvm/llvm-project/commit/58cfd56356ed96690150245ca5bcf646d12edc7a
  Author: Simeon K <5235180+simeonkr at users.noreply.github.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/IR/VPIntrinsics.def
    M llvm/lib/CodeGen/ExpandVectorPredication.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fmaximum-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fminimum-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/fmaximum-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/fminimum-vp.ll
    M llvm/unittests/IR/VPIntrinsicTest.cpp

  Log Message:
  -----------
  [VP][RISCV] Introduce llvm.vp.minimum/maximum intrinsics (#74840)

Although there are predicated versions of minnum/maxnum, the ones for
minimum/maximum are currently missing. This patch introduces these
intrinsics and implements their lowering to RISC-V.




More information about the All-commits mailing list