================
@@ -37,8 +37,8 @@ static const unsigned SPIRDefIsPrivMap[] = {
     0, // cuda_device
     0, // cuda_constant
     0, // cuda_shared
-    // SYCL address space values for this map are dummy
-    0, // sycl_global
+    // Most SYCL address space values for this map are dummy
----------------
AlexVlx wrote:

This is a hack for OpenCL, and is not meant to work otherwise, it should only 
be used for OCL (looks like an unfortunate import from some brainrot we put in 
AMDGPU). We've made an effort to fix this recently, so perhaps we could look at 
moving SPIR-V away from it as well, see #112442 and its children. 

https://github.com/llvm/llvm-project/pull/134399
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to