[all-commits] [llvm/llvm-project] b49337: [RISCV] [1/2] Add IR intrinsic for Zbp extension

Levy S. Hsu via All-commits all-commits at lists.llvm.org
Thu Apr 22 16:35:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b49337bbb9de63e4696cb1fc1d2809d2823ab460
      https://github.com/llvm/llvm-project/commit/b49337bbb9de63e4696cb1fc1d2809d2823ab460
  Author: Levy Hsu <admin at levyhsu.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsRISCV.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    A clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbp.c
    A clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbp.c
    M llvm/include/llvm/IR/IntrinsicsRISCV.td
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoB.td
    A llvm/test/CodeGen/RISCV/rv32zbp-intrinsic.ll
    A llvm/test/CodeGen/RISCV/rv64zbp-intrinsic.ll
    M llvm/test/MC/RISCV/rv32b-aliases-valid.s
    M llvm/test/MC/RISCV/rv64b-aliases-valid.s

  Log Message:
  -----------
  [RISCV] [1/2] Add IR intrinsic for Zbp extension

RV32/64:
    grev
    grevi
    gorc
    gorci
    shfl
    shfli
    unshfl
    unshfli

RV64 ONLY:
    grevw
    greviw
    gorcw
    gorciw
    shflw
    shfli     (For non-existing shfliw)
    unshfli   (For non-existing unshfliw)

Reviewed By: craig.topper

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




More information about the All-commits mailing list