[all-commits] [llvm/llvm-project] 5c3ca1: [VP][RISCV] Add vp.bswap and RISC-V support.

Yeting Kuo via All-commits all-commits at lists.llvm.org
Tue Nov 15 19:36:53 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c3ca10b097eed98e04239fedf7bd3af747afba2
      https://github.com/llvm/llvm-project/commit/5c3ca10b097eed98e04239fedf7bd3af747afba2
  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/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/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/bswap-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bswap-vp.ll
    M llvm/unittests/IR/VPIntrinsicTest.cpp

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

The patch also added function expandVPBSWAP to expand ISD::VP_BSWAP nodes.

Reviewed By: craig.topper

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




More information about the All-commits mailing list