Skip to content

Commit ae2fc0b

Browse files
committed
Fuse tests into one.
Signed-off-by: James Brodman <james.brodman@intel.com>
1 parent 62f2d11 commit ae2fc0b

File tree

2 files changed

+6
-37
lines changed

2 files changed

+6
-37
lines changed

clang/test/CodeGenSYCL/usm-int-header.cpp

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
// RUN: %clang_cc1 -std=c++11 -I %S/Inputs -fsycl-is-device -ast-dump %s | FileCheck %s
12
// RUN: %clang -I %S/Inputs --sycl -Xclang -fsycl-int-header=%t.h %s -c -o kernel.spv
2-
// RUN: FileCheck -input-file=%t.h %s
3+
// RUN: FileCheck -input-file=%t.h %s --check-prefix=INT-HEADER
34

4-
// CHECK:{ kernel_param_kind_t::kind_pointer, 8, 0 },
5-
// CHECK:{ kernel_param_kind_t::kind_pointer, 8, 8 },
5+
// INT-HEADER:{ kernel_param_kind_t::kind_pointer, 8, 0 },
6+
// INT-HEADER:{ kernel_param_kind_t::kind_pointer, 8, 8 },
67

7-
//==-------------------usm-params.cpp - USM kernel param aspace test -------==//
8+
//==--usm-int-header.cpp - USM kernel param aspace and int header test -----==//
89
//
910
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
1011
// See https://llvm.org/LICENSE.txt for license information.
@@ -30,4 +31,4 @@ int main() {
3031
});
3132
}
3233

33-
34+
// CHECK: FunctionDecl {{.*}}usm_test 'void (__global int *, __global float *)'

clang/test/SemaSYCL/usm-params.cpp

-32
This file was deleted.

0 commit comments

Comments
 (0)