[all-commits] [llvm/llvm-project] a1615b: [RISCV] Support LLVM IR intrinsics for xsfvcp exte...

Brandon Wu via All-commits all-commits at lists.llvm.org
Mon Apr 24 03:10:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1615b5210118e8fbc4c78c8cabb0c8d00061e6c
      https://github.com/llvm/llvm-project/commit/a1615b5210118e8fbc4c78c8cabb0c8d00061e6c
  Author: Nelson Chu <nelson.chu at sifive.com>
  Date:   2023-04-24 (Mon, 24 Apr 2023)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsRISCV.td
    A llvm/include/llvm/IR/IntrinsicsRISCVXsf.td
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td
    A llvm/test/CodeGen/RISCV/rvv/xsfvcp-x.ll
    A llvm/test/CodeGen/RISCV/rvv/xsfvcp-xv.ll
    A llvm/test/CodeGen/RISCV/rvv/xsfvcp-xvv.ll
    A llvm/test/CodeGen/RISCV/rvv/xsfvcp-xvw.ll

  Log Message:
  -----------
  [RISCV] Support LLVM IR intrinsics for xsfvcp extension.

The sf.vc.x and sf.vc.i intrinsics don't have any vector types in the output
and inputs, but the intrinsic spec said that we still need to add vetvli for
them. Therefore, we need to encode the VTYPE to these IR names.

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




More information about the All-commits mailing list