File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 2
2
// RUN: %clang_cc1 -fsycl -fsycl-is-device -fsyntax-only -verify %s -DLINUX_ASM -DSPIR_CHECK -triple spir64-unknown-unknown-sycldevice
3
3
// RUN: %clang_cc1 -fsycl -fsycl-is-device -fsyntax-only -verify -triple x86_64-windows -fasm-blocks %s
4
4
5
- // Invalid output constraint diagnistic is duplicated
6
- // XFAIL:*
7
-
8
5
#ifndef SPIR_CHECK
9
6
// expected-no-diagnostics
10
7
#endif // SPIR_CHECK
@@ -25,7 +22,7 @@ static __inline unsigned int
25
22
asm_func_2 (unsigned int __leaf, unsigned long __d[]) {
26
23
unsigned int __result;
27
24
#ifdef SPIR_CHECK
28
- // expected-error@+2 {{invalid output constraint '=a' in asm}}
25
+ // expected-error@+2 2 {{invalid output constraint '=a' in asm}}
29
26
__asm__ (" enclu"
30
27
: " =a" (__result), " =b" (__d[0 ]), " =c" (__d[1 ]), " =d" (__d[2 ])
31
28
: " a" (__leaf), " b" (__d[0 ]), " c" (__d[1 ]), " d" (__d[2 ])
@@ -61,7 +58,7 @@ __attribute__((sycl_kernel)) void kernel_single_task(Func kernelFunc) {
61
58
#ifdef SPIR_CHECK
62
59
unsigned int i = 3 ;
63
60
unsigned long d[4 ];
64
- // expected-note@+1 {{called by 'kernel_single_task' }}
61
+ // expected-note@+1 2 {{called by 'kernel_single_task}}
65
62
asm_func_2 (i, d);
66
63
#endif // SPIR_CHECK
67
64
#else
You can’t perform that action at this time.
0 commit comments