Skip to content

Commit 80b69f6

Browse files
committed
Add missing -fsycl-is-native-cpu
1 parent 85c7497 commit 80b69f6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

clang/test/CodeGenSYCL/spirv-builtins-addr-space.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -fsycl-is-device -fdeclare-spirv-builtins -emit-llvm -o - -O0 | FileCheck %s
1+
// RUN: %clang_cc1 %s -fsycl-is-native-cpu -fsycl-is-device -fdeclare-spirv-builtins -emit-llvm -o - -O0 | FileCheck %s
22
//
33
// Check that SPIR-V builtins are declared with SYCL address spaces rather
44
// than OpenCL address spaces when using them with SYCL. OpenCL address spaces

clang/test/Frontend/sycl-propagate-aspect-warning.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// RUN: %clang_cc1 -internal-isystem %S/Inputs -fsycl-is-device -mconstructor-aliases -emit-codegen-only -verify %s
2-
1+
// RUN: %clang_cc1 -internal-isystem %S/Inputs -fsycl-is-native-cpu -fsycl-is-device -mconstructor-aliases -emit-codegen-only -verify %s
32
// Tests for warnings when propagated aspects do not match the aspects available
43
// in a function, as specified through the 'sycl::device_has' attribute.
54

0 commit comments

Comments
 (0)