[all-commits] [llvm/llvm-project] 7440e2: [RISCV] Add '32bit' feature to rv32 only builtins.

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Sep 6 14:46:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7440e2274fbd840178cf73060201e6a2e225c5d1
      https://github.com/llvm/llvm-project/commit/7440e2274fbd840178cf73060201e6a2e225c5d1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsRISCV.def
    M clang/lib/Basic/Targets/RISCV.cpp
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbkb-error.c
    M clang/test/Driver/riscv-default-features.c

  Log Message:
  -----------
  [RISCV] Add '32bit' feature to rv32 only builtins.

The backend now has a 32bit feature as part of the recent mtune
patch. We can now use that make our rv32-only builtin error checking
work the same way as rv64-only errors.

Reviewed By: kito-cheng

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




More information about the All-commits mailing list