From c396b8ef17e941dcbca1784b7d8b5265ac0c1319 Mon Sep 17 00:00:00 2001 From: "Larsen, Steffen" Date: Tue, 10 Dec 2024 02:48:57 -0800 Subject: [PATCH] [SYCL][Test] Fix expectation in restrict property tests This commit fixes an overly strict expectation in both restrict.cpp tests introduced in https://github.com/intel/llvm/pull/16090. Signed-off-by: Larsen, Steffen --- .../check_device_code/extensions/annotated_arg/restrict.cpp | 2 +- .../check_device_code/extensions/annotated_ptr/restrict.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/test/check_device_code/extensions/annotated_arg/restrict.cpp b/sycl/test/check_device_code/extensions/annotated_arg/restrict.cpp index 305d681823ea3..7e234e244815c 100644 --- a/sycl/test/check_device_code/extensions/annotated_arg/restrict.cpp +++ b/sycl/test/check_device_code/extensions/annotated_arg/restrict.cpp @@ -19,4 +19,4 @@ int main() { return 0; } -// CHECK-IR: spir_kernel void @_ZTSZZ4mainENKUlRN4sycl3_V17handlerEE_clES2_EUlvE_(ptr addrspace(1) noalias noundef align 4 "sycl-restrict" %_arg_AnnotArg) +// CHECK-IR: spir_kernel void @_ZTSZZ4mainENKUlRN4sycl3_V17handlerEE_clES2_EUlvE_(ptr addrspace(1) noalias noundef align 4 "sycl-restrict" diff --git a/sycl/test/check_device_code/extensions/annotated_ptr/restrict.cpp b/sycl/test/check_device_code/extensions/annotated_ptr/restrict.cpp index c894954444a7c..8b27ee83827c6 100644 --- a/sycl/test/check_device_code/extensions/annotated_ptr/restrict.cpp +++ b/sycl/test/check_device_code/extensions/annotated_ptr/restrict.cpp @@ -18,4 +18,4 @@ int main() { return 0; } -// CHECK-IR: spir_kernel void @_ZTSZZ4mainENKUlRN4sycl3_V17handlerEE_clES2_EUlvE_(ptr addrspace(1) noalias noundef align 4 "sycl-restrict" %_arg_AnnotPtr) +// CHECK-IR: spir_kernel void @_ZTSZZ4mainENKUlRN4sycl3_V17handlerEE_clES2_EUlvE_(ptr addrspace(1) noalias noundef align 4 "sycl-restrict"