[all-commits] [llvm/llvm-project] ed9638: [VP][RISCV] Add vp.nearbyint and RISC-V support.

Yeting Kuo via All-commits all-commits at lists.llvm.org
Tue Nov 15 22:05:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed9638c44bc0c95314694fb878b21006e6c87510
      https://github.com/llvm/llvm-project/commit/ed9638c44bc0c95314694fb878b21006e6c87510
  Author: Yeting Kuo <yeting.kuo at sifive.com>
  Date:   2022-11-16 (Wed, 16 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/RISCVInstrInfoVPseudos.td
    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-nearbyint-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/nearbyint-vp.ll
    M llvm/unittests/IR/VPIntrinsicTest.cpp

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

nearbyint has the property to execute without exception.
For not modifying fflags, the patch added new machine opcode
PseudoVFROUND_NOEXCEPT_V that expands vfcvt.x.f.v and vfcvt.f.x.v between a pair
of frflags and fsflags.

Reviewed By: craig.topper

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




More information about the All-commits mailing list