[all-commits] [llvm/llvm-project] 71e4e3: [VP][RISCV] Add vp.rint and RISC-V support.

Yeting Kuo via All-commits all-commits at lists.llvm.org
Mon Oct 31 23:53:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71e4e35581bb5972d71f1b887b61a9eeefcfb927
      https://github.com/llvm/llvm-project/commit/71e4e35581bb5972d71f1b887b61a9eeefcfb927
  Author: Yeting Kuo <yeting.kuo at sifive.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  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/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/fround.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-rint-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/rint-vp.ll
    M llvm/unittests/IR/VPIntrinsicTest.cpp

  Log Message:
  -----------
  [VP][RISCV] Add vp.rint and RISC-V support.

FRINT uses dynamic rounding mode instead of static rounding mode. The patch
rename VFCVT_X_F_VL to VFCVT_RM_X_F_VL for static rounding mode uses and added
new ISDNode VFCVT_X_F_VL directly selected to PseudoVFCVT_X_F_V.

Reviewed By: craig.topper

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




More information about the All-commits mailing list