[all-commits] [llvm/llvm-project] 1e9e1b: [VP][RISCV] Add vp.ctlz/cttz and RISC-V support.

Yeting Kuo via All-commits all-commits at lists.llvm.org
Tue Jan 3 23:15:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e9e1b9cf857415528bbc7ec9eefaf98bb080c8c
      https://github.com/llvm/llvm-project/commit/1e9e1b9cf857415528bbc7ec9eefaf98bb080c8c
  Author: Yeting Kuo <yeting.kuo at sifive.com>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/IR/VPIntrinsics.def
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/int-bit-manip.ll
    A llvm/test/CodeGen/RISCV/rvv/ctlz-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/cttz-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz-vp.ll
    M llvm/unittests/IR/VPIntrinsicTest.cpp

  Log Message:
  -----------
  [VP][RISCV] Add vp.ctlz/cttz and RISC-V support.

The patch also adds expandVPCTLZ and expandVPCTTZ to expand vp.ctlz/cttz nodes
and the cost model of vp.ctlz/cttz.

Reviewed By: craig.topper

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




More information about the All-commits mailing list