[all-commits] [llvm/llvm-project] b001d5: [RISCV] Add IR intrinsic for Zbr extension

Levy S. Hsu via All-commits all-commits at lists.llvm.org
Fri Apr 2 11:02:08 PDT 2021


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

  Changed paths:
    M clang/include/clang/Basic/BuiltinsRISCV.def
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbr.c
    A clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbr.c
    M llvm/include/llvm/IR/IntrinsicsRISCV.td
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoB.td
    A llvm/test/CodeGen/RISCV/rv32zbr.ll
    A llvm/test/CodeGen/RISCV/rv64zbr.ll

  Log Message:
  -----------
  [RISCV] Add IR intrinsic for Zbr extension

Implementation for RISC-V Zbr extension intrinsic.

Header files are included in separate patch in case the name needs to be changed

RV32 / 64:
        crc32b
        crc32h
        crc32w
        crc32cb
        crc32ch
        crc32cw

RV64 Only:
        crc32d
        crc32cd

Reviewed By: craig.topper

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




More information about the All-commits mailing list