Author: chapuni
Date: Sun May 17 22:58:27 2015
New Revision: 237551
URL: http://llvm.org/viewvc/llvm-project?rev=237551&view=rev
Log:
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
Modified:
cfe/trunk/test/CodeGenOpenCL/opencl_types.cl
Modified: cfe/trunk/test/CodeGenOpenCL/opencl_types.cl
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenOpenCL/opencl_types.cl?rev=237551&r1=237550&r2=237551&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenOpenCL/opencl_types.cl (original)
+++ cfe/trunk/test/CodeGenOpenCL/opencl_types.cl Sun May 17 22:58:27 2015
@@ -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"}}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits