[clang] [llvm] [clang][RISCV] Use macro to check if intrinsics are supported (PR #187197)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 7 09:06:07 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
----------------
topperc wrote:

Does this file having any intrinsics that belong to xtheadbb?

https://github.com/llvm/llvm-project/pull/187197


More information about the cfe-commits mailing list