Skip to content

Commit e7666a0

Browse files
committed
[SYCL] Revert changes to llvm-lit tests (without reductions)
Signed-off-by: Hu, Peisen <[email protected]>
1 parent f68f456 commit e7666a0

File tree

6 files changed

+8
-12
lines changed

6 files changed

+8
-12
lines changed

sycl/test/check_device_code/extensions/properties/properties_kernel_launch_bounds.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clangxx -fsycl-device-only -S -Wno-deprecated-declarations -Xclang -emit-llvm %s -o - | FileCheck %s --check-prefix CHECK-IR
2-
// RUN: %clangxx -fsycl -fsyntax-only -Wno-deprecated-declarations -Xclang -verify %s
1+
// RUN: %clangxx -fsycl-device-only -S -Xclang -emit-llvm %s -o - | FileCheck %s --check-prefix CHECK-IR
2+
// RUN: %clangxx -fsycl -fsyntax-only -Xclang -verify %s
33
// expected-no-diagnostics
44

55
#include <sycl/sycl.hpp>

sycl/test/check_device_code/extensions/properties/properties_kernel_max_work_group_size.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clangxx -fsycl-device-only -S -Wno-deprecated-declarations -Xclang -emit-llvm %s -o - | FileCheck %s --check-prefix CHECK-IR
2-
// RUN: %clangxx -fsycl -fsyntax-only -Wno-deprecated-declarations -Xclang -verify %s
1+
// RUN: %clangxx -fsycl-device-only -S -Xclang -emit-llvm %s -o - | FileCheck %s --check-prefix CHECK-IR
2+
// RUN: %clangxx -fsycl -fsyntax-only -Xclang -verify %s
33
// expected-no-diagnostics
44

55
#include <sycl/sycl.hpp>

sycl/test/extensions/properties/properties_kernel_device_has_warning.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -fsycl-device-only -Wno-deprecated-declarations -Xclang -verify -Xclang -verify-ignore-unexpected=note %s
1+
// RUN: %clangxx -fsycl-device-only -Xclang -verify -Xclang -verify-ignore-unexpected=note %s
22

33
// Tests for warnings when propagated aspects do not match the aspects available
44
// in a function, as specified through the 'sycl::device_has' property.

sycl/test/extensions/properties/properties_kernel_negative_device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -fsycl-device-only -Wno-deprecated-declarations -Xclang -fsycl-is-device -ferror-limit=0 -fsyntax-only -Xclang -verify -Xclang -verify-ignore-unexpected=note %s
1+
// RUN: %clangxx -fsycl-device-only -Xclang -fsycl-is-device -ferror-limit=0 -fsyntax-only -Xclang -verify -Xclang -verify-ignore-unexpected=note %s
22

33
#include <sycl/sycl.hpp>
44

sycl/test/virtual-functions/diagnostics-positive.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -fsycl -c -Wno-deprecated-declarations -Xclang -verify %s -o %t.ignored
1+
// RUN: %clangxx -fsycl -c -Xclang -verify %s -o %t.ignored
22
//
33
// This test is intended to check that no diagnostics are emitted when a kernel
44
// performing virtual function calls is submitted with the right properties.

sycl/test/virtual-functions/properties-positive.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -fsycl -fsyntax-only -Wno-deprecated-declarations -Xclang -verify %s
1+
// RUN: %clangxx -fsycl -fsyntax-only -Xclang -verify %s
22
//
33
// This test is intended to check that we can successfully compile code that
44
// uses new properties from the virtual functions extension.
@@ -44,10 +44,6 @@ class SubSubDerived : public SubDerived {
4444
int main() {
4545
sycl::queue q;
4646

47-
static_assert(
48-
oneapi::is_property_key<oneapi::indirectly_callable_key>::value);
49-
static_assert(oneapi::is_property_key<oneapi::calls_indirectly_key>::value);
50-
5147
oneapi::properties props_empty{oneapi::assume_indirect_calls};
5248
oneapi::properties props_void{oneapi::assume_indirect_calls_to<void>};
5349
oneapi::properties props_int{oneapi::assume_indirect_calls_to<int>};

0 commit comments

Comments
 (0)