[all-commits] [llvm/llvm-project] 25445b: [RISCV] Add rvv codegen support for vp.fptrunc.

Jianjian Guan via All-commits all-commits at lists.llvm.org
Mon Apr 18 19:31:13 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25445b94dbcd8dc85e2741d1c5b1fc595f97c931
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-04-19 (Tue, 19 Apr 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
    A llvm/test/CodeGen/RISCV/rvv/fixed-vector-fptrunc-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/vfptrunc-vp.ll

  Log Message:
  [RISCV] Add rvv codegen support for vp.fptrunc.

This patch adds rvv codegen support for vp.fptrunc. The lowering of fp_round and vp.fptrunc share most code so use a common lowering function to handle those two, similar to vp.trunc.

Reviewed By: craig.topper

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

More information about the All-commits mailing list