]> granicus.if.org Git - clang/commitdiff
clang/test/CodeGenOpenCL/opencl_types.cl: Tweak expressions according to r237548.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 18 May 2015 03:58:27 +0000 (03:58 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 18 May 2015 03:58:27 +0000 (03:58 +0000)
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

test/CodeGenOpenCL/opencl_types.cl

index 71d1189e5f0852b0ceffd279fa743268e9b41c45..ac4ed1c3b81ea64b744453413c965000f3a42651 100644 (file)
@@ -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"}}