[clang] [clang][SYCL] Add SYCL spelling for AS attributes (PR #200849)
Tom Honermann via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 12 18:11:18 PDT 2026
================
@@ -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
More information about the cfe-commits
mailing list