Allow _32 builtin on RV64 since it only brev8+sext.w.
Part of an effort to remove 'long' to mean XLen from the builtin
interface.
Matches the proposal here https://github.com/riscv-non-isa/riscv-c-api-doc/pull/44
Paths
| Differential D154683
[RISCV] Split __builtin_riscv_brev8 into _32 and _64 builtin. ClosedPublic Authored by craig.topper on Jul 6 2023, 10:47 PM.
Details Summary 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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 9 2023, 6:21 AM This revision was landed with ongoing or failed builds.Jul 10 2023, 1:01 PM Closed by commit rG939f818a662a: [RISCV] Split __builtin_riscv_brev8 into _32 and _64 builtin. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537991 clang/include/clang/Basic/BuiltinsRISCV.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbkb.c
clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbkb.c
|
clang-format not found in user’s local PATH; not linting file.