From: NAKAMURA Takumi Date: Mon, 18 May 2015 03:58:27 +0000 (+0000) Subject: clang/test/CodeGenOpenCL/opencl_types.cl: Tweak expressions according to r237548. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bafbd6069e8c35f93a4874e695501bf61fc9dafc;p=clang clang/test/CodeGenOpenCL/opencl_types.cl: Tweak expressions according to r237548. With MS mangler, the signature is: x86: define void @"\01?bad1@@$$J0YAXPAPAUocl_image1d@@PAPAUocl_image2d@@1@Z" (%opencl.image1d_t** %b, %opencl.image2d_t** %c, %opencl.image2d_t** %d) nounwind x64: define void @"\01?bad1@@$$J0YAXPEAPAUocl_image1d@@PEAPAUocl_image2d@@1@Z"(%opencl.image1d_t** %b, %opencl.image2d_t** %c, %opencl.image2d_t** %d) nounwind git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237551 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenOpenCL/opencl_types.cl b/test/CodeGenOpenCL/opencl_types.cl index 71d1189e5f..ac4ed1c3b8 100644 --- a/test/CodeGenOpenCL/opencl_types.cl +++ b/test/CodeGenOpenCL/opencl_types.cl @@ -37,4 +37,4 @@ kernel void foo(image1d_t img) { } void __attribute__((overloadable)) bad1(image1d_t *b, image2d_t *c, image2d_t *d) {} -// CHECK-LABEL: @{{_Z4bad1P11ocl_image1dP11ocl_image2dS2_|"\\01\?bad1@@YAXPE?APAUocl_image1d@@PE?APAUocl_image2d@@1@Z"}} +// CHECK-LABEL: @{{_Z4bad1P11ocl_image1dP11ocl_image2dS2_|"\\01\?bad1@@\$\$J0YAXPE?APAUocl_image1d@@PE?APAUocl_image2d@@1@Z"}}