================
@@ -46,6 +44,8 @@ static const unsigned SPIRDefIsPrivMap[] = {
     0,  // sycl_global_host
     0,  // sycl_local
     0,  // sycl_private
+    0,  // sycl_generic
+    0,  // sycl_constant
----------------
tahonermann wrote:

I think the SYCL address spaces should map the same as the OpenCL ones for SPIR.

```suggestion
    1,  // sycl_global
    5,  // sycl_global_device
    6,  // sycl_global_host
    3,  // sycl_local
    0,  // sycl_private
    4,  // sycl_generic
    2,  // sycl_constant
```

https://github.com/llvm/llvm-project/pull/200849
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to