================
@@ -131,7 +131,13 @@ struct IdentTy {
using __kmpc_impl_lanemask_t = LaneMaskTy;
-using ParallelRegionFnTy = void *;
+#ifdef __SPIRV__
+using FnPtrTy = __attribute__((address_space(9))) void *;
----------------
adurang wrote:
we could also have that as an empty #define in the other headers so we wouldn't
need an #ifdef here
https://github.com/llvm/llvm-project/pull/171011
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits