Skip to content

Commit d06c923

Browse files
committed
[NFC] Fix mangled names in test
`clang/lib/AST/ItaniumMangle.cpp` doesn't include any `_t` in the mangled name.
1 parent 3cbf128 commit d06c923

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/transcoding/check_wo_qualifier.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@ target triple = "spir64-unknown-unknown"
2626
; Function Attrs: nounwind
2727
define spir_kernel void @sample_kernel(%opencl.image2d_array_wo_t addrspace(1)* %input) #0 !kernel_arg_addr_space !1 !kernel_arg_access_qual !2 !kernel_arg_type !3 !kernel_arg_base_type !5 !kernel_arg_type_qual !4 {
2828
entry:
29-
%call.tmp1 = call spir_func <2 x i32> @_Z13get_image_dim20ocl_image2d_array_wo_t(%opencl.image2d_array_wo_t addrspace(1)* %input)
29+
%call.tmp1 = call spir_func <2 x i32> @_Z13get_image_dim20ocl_image2d_array_wo(%opencl.image2d_array_wo_t addrspace(1)* %input)
3030
%call.tmp2 = shufflevector <2 x i32> %call.tmp1, <2 x i32> undef, <3 x i32> <i32 0, i32 1, i32 2>
31-
%call.tmp3 = call spir_func i64 @_Z20get_image_array_size20ocl_image2d_array_wo_t(%opencl.image2d_array_wo_t addrspace(1)* %input)
31+
%call.tmp3 = call spir_func i64 @_Z20get_image_array_size20ocl_image2d_array_wo(%opencl.image2d_array_wo_t addrspace(1)* %input)
3232
%call.tmp4 = trunc i64 %call.tmp3 to i32
3333
%call.tmp5 = insertelement <3 x i32> %call.tmp2, i32 %call.tmp4, i32 2
3434
%call.old = extractelement <3 x i32> %call.tmp5, i32 0
3535
ret void
3636
}
3737

3838
; Function Attrs: nounwind
39-
declare spir_func <2 x i32> @_Z13get_image_dim20ocl_image2d_array_wo_t(%opencl.image2d_array_wo_t addrspace(1)*) #0
39+
declare spir_func <2 x i32> @_Z13get_image_dim20ocl_image2d_array_wo(%opencl.image2d_array_wo_t addrspace(1)*) #0
4040

4141
; Function Attrs: nounwind
42-
declare spir_func i64 @_Z20get_image_array_size20ocl_image2d_array_wo_t(%opencl.image2d_array_wo_t addrspace(1)*) #0
42+
declare spir_func i64 @_Z20get_image_array_size20ocl_image2d_array_wo(%opencl.image2d_array_wo_t addrspace(1)*) #0
4343

4444
attributes #0 = { nounwind }
4545

0 commit comments

Comments
 (0)