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

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 16 04:09:15 PDT 2026


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

I don't think so. Dummy values are added to maps which are irrelevant for the model. SYCL does not use `SPIRDefIsPrivMap`. It uses `SPIRDefIsGenMap`. 

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


More information about the cfe-commits mailing list