[clang] [llvm] [clang][RISCV] Use macro to check if intrinsics are supported (PR #187197)
Brandon Wu via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 7 09:13:40 PDT 2026
================
@@ -16,6 +16,13 @@
extern "C" {
#endif
+#define __riscv_intrinsic_zbb 1
+#define __riscv_intrinsic_zbc 1
+#define __riscv_intrinsic_zbkb 1
+#define __riscv_intrinsic_zbkc 1
+#define __riscv_intrinsic_zbkx 1
+#define __riscv_intrinsic_xtheadbb 1
----------------
4vtomat wrote:
I think xtheadbb also enable some zbb intrinsics but I think xtheadbb doesn't have any intrinsic itself so I think we can remove it
https://github.com/llvm/llvm-project/pull/187197
More information about the cfe-commits
mailing list