[all-commits] [llvm/llvm-project] 939f81: [RISCV] Split __builtin_riscv_brev8 into _32 and _...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Jul 10 13:01:26 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 939f818a662a56a3b118e7e4b0656b6f7038adae
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-07-10 (Mon, 10 Jul 2023)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsRISCV.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbkb.c
    M clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbkb.c

  Log Message:
  [RISCV] Split __builtin_riscv_brev8 into _32 and _64 builtin.

Allow _32 builtin on RV64 since it only brev8+sext.w.

Part of an effort to remove 'long' to mean XLen from the builtin

Matches the proposal here https://github.com/riscv-non-isa/riscv-c-api-doc/pull/44

Reviewed By: asb

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

More information about the All-commits mailing list