[all-commits] [llvm/llvm-project] 83b8f8: [RISCV] Custom lower vector F(MIN|MAX)NUM to vf(mi...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Fri Apr 23 04:29:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83b8f8da828383074f59d331c262200d65a4833e
      https://github.com/llvm/llvm-project/commit/83b8f8da828383074f59d331c262200d65a4833e
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-04-23 (Fri, 23 Apr 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfmax.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfmin.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmax-sdnode.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmin-sdnode.ll

  Log Message:
  -----------
  [RISCV] Custom lower vector F(MIN|MAX)NUM to vf(min|max)

This patch adds support for both scalable- and fixed-length vector code
lowering of the llvm.minnum and llvm.maxnum intrinsics to the equivalent
RVV instructions.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D101035




More information about the All-commits mailing list