[clang] [clang][SYCL] Add SYCL spelling for AS attributes (PR #200849)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 16 04:22:27 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
----------------
elizabethandrews wrote:

Same here. IIUC from TCE.cpp, TCE only supports OpenCL. I think we should stick to dummy values here since SYCL does not target TCE. 

https://github.com/llvm/llvm-project/pull/200849


More information about the cfe-commits mailing list