diff --git a/clang/test/CodeGenOpenCL/const-str-array-decay.cl b/clang/test/CodeGenOpenCL/const-str-array-decay.cl index c078b89622f57..0bffe92d6565d 100644 --- a/clang/test/CodeGenOpenCL/const-str-array-decay.cl +++ b/clang/test/CodeGenOpenCL/const-str-array-decay.cl @@ -6,4 +6,5 @@ kernel void str_array_decy() { test_func("Test string literal"); } -// CHECK: call i32 @test_func(ptr addrspace(2) noundef @{{.*}}) +// CHECK: ptr addrspace(2) noundef +// CHECK-NOT: addrspacecast