Skip to content

Commit 1e2ddd4

Browse files
authored
[ESIMD] Fix fail caused by filter/check in genx_func_attr.cpp test (#6056)
The error showed up with no-aaserts build as it discarded func argument names. Signed-off-by: Vyacheslav N Klochkov <vyacheslav.n.klochkov@intel.com>
1 parent fc9cf52 commit 1e2ddd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/test/esimd/genx_func_attr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ SYCL_ESIMD_FUNCTION SYCL_EXTERNAL ESIMD_NOINLINE void callee(int x) {
2424
// inherits SLMSize and NBarrierCount from callee
2525
void caller_abc(int x) {
2626
kernel<class kernel_abc>([=]() SYCL_ESIMD_KERNEL { callee(x); });
27-
// CHECK: define dso_local spir_kernel void @_ZTSZ10caller_abciE10kernel_abc(i32 noundef "VCArgumentIOKind"="0" %_arg_x) local_unnamed_addr #2
27+
// CHECK: define dso_local spir_kernel void @_ZTSZ10caller_abciE10kernel_abc(i32 noundef "VCArgumentIOKind"="0" %{{.*}}) local_unnamed_addr #2
2828
}
2929

3030
// inherits only NBarrierCount from callee
@@ -33,7 +33,7 @@ void caller_xyz(int x) {
3333
slm_init(1235);
3434
callee(x);
3535
});
36-
// CHECK: define dso_local spir_kernel void @_ZTSZ10caller_xyziE10kernel_xyz(i32 noundef "VCArgumentIOKind"="0" %_arg_x) local_unnamed_addr #3
36+
// CHECK: define dso_local spir_kernel void @_ZTSZ10caller_xyziE10kernel_xyz(i32 noundef "VCArgumentIOKind"="0" %{{.*}}) local_unnamed_addr #3
3737
}
3838

3939
// CHECK: attributes #2 = { {{.*}} "VCNamedBarrierCount"="13" "VCSLMSize"="1234"

0 commit comments

Comments
 (0)