[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:19 PDT 2026
================
@@ -1,24 +1,40 @@
-// RUN: %clang_cc1 -triple spir64 -fsycl-is-device -disable-llvm-passes -emit-llvm %s -o - | FileCheck %s --check-prefix=SPIR
+// RUN: %clang_cc1 -triple spir64 -fsycl-is-device -disable-llvm-passes -emit-llvm %s -o - -Wno-deprecated-attributes | FileCheck %s --check-prefix=SPIR
+// RUN: %clang_cc1 -triple x86_64 -fsycl-is-device -disable-llvm-passes -emit-llvm %s -o - -Wno-deprecated-attributes | FileCheck %s --check-prefix=X86
----------------
tahonermann wrote:
FYI that the `x86_64` target is no longer accepted as a SYCL device target; this run line and the `X86` checks were recently removed.
https://github.com/llvm/llvm-project/pull/200849
More information about the cfe-commits
mailing list