[clang] [clang][sycl] Remove support for global_device and global_host AS (PR #194423)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 28 12:55:36 PDT 2026


================
@@ -2631,9 +2631,6 @@ static unsigned ArgInfoAddressSpace(LangAS AS) {
     return 3;
   case LangAS::opencl_generic:
     return 4; // Not in SPIR 2.0 specs.
-  case LangAS::opencl_global_device:
-    return 5;
-  case LangAS::opencl_global_host:
     return 6;
----------------
elizabethandrews wrote:

Oh nice catch! Thanks!

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


More information about the cfe-commits mailing list