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 22// RUN: %clang_cc1 -fsycl -fsycl-is-device -fsyntax-only -verify %s -DLINUX_ASM -DSPIR_CHECK -triple spir64-unknown-unknown-sycldevice
33// RUN: %clang_cc1 -fsycl -fsycl-is-device -fsyntax-only -verify -triple x86_64-windows -fasm-blocks %s
44
5- // Invalid output constraint diagnistic is duplicated
6- // XFAIL:*
7-
85#ifndef SPIR_CHECK
96// expected-no-diagnostics
107#endif // SPIR_CHECK
@@ -25,7 +22,7 @@ static __inline unsigned int
2522asm_func_2 (unsigned int __leaf, unsigned long __d[]) {
2623 unsigned int __result;
2724#ifdef SPIR_CHECK
28- // expected-error@+2 {{invalid output constraint '=a' in asm}}
25+ // expected-error@+2 2 {{invalid output constraint '=a' in asm}}
2926 __asm__ (" enclu"
3027 : " =a" (__result), " =b" (__d[0 ]), " =c" (__d[1 ]), " =d" (__d[2 ])
3128 : " a" (__leaf), " b" (__d[0 ]), " c" (__d[1 ]), " d" (__d[2 ])
@@ -61,7 +58,7 @@ __attribute__((sycl_kernel)) void kernel_single_task(Func kernelFunc) {
6158#ifdef SPIR_CHECK
6259 unsigned int i = 3 ;
6360 unsigned long d[4 ];
64- // expected-note@+1 {{called by 'kernel_single_task' }}
61+ // expected-note@+1 2 {{called by 'kernel_single_task}}
6562 asm_func_2 (i, d);
6663#endif // SPIR_CHECK
6764#else
You can’t perform that action at this time.
0 commit comments