[PATCH] D14441: [OpenCL] Pipe types support.

Xiuli PAN via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 12 23:59:33 PST 2015


pxli168 added a comment.

F1095908: pipelog.txt <http://reviews.llvm.org/F1095908>
This is the log of runing
 clang -cc1 -emit-llvm -cl-std=CL2.0 -o - pipe_types.c


================
Comment at: test/CodeGenOpenCL/pipe_types.cl:7
@@ +6,3 @@
+
+void test1(read_only pipe int p) {
+// CHECK: define void @test1(%opencl.pipe_t* %p)
----------------
I find the bug is really strange, I just changed the int here into int4 and the clang is broken(I will attach the log). But if int4 shows below some function with arg like pipe int, it will be alright.
Hope the log may help. 


http://reviews.llvm.org/D14441





More information about the cfe-commits mailing list