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

I'm not familiar with the TCE target, but we should probably match OpenCL here 
since those were given a mapping.

```suggestion
    3, // sycl_global
    1, // sycl_global_device
    1, // sycl_global_host
    4, // sycl_local
    0, // sycl_private
    // FIXME: generic has to be added to the target
    0, // sycl_generic
    5, // 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