Anastasia accepted this revision.
Anastasia added a reviewer: Anastasia.
Anastasia added a comment.

LGTM!


================
Comment at: lib/CodeGen/CGOpenCLRuntime.cpp:108
@@ +107,3 @@
+    PipeTy = llvm::PointerType::get(llvm::StructType::create(
+      CGM.getLLVMContext(), "opencl.pipe_t"), PipeAddrSpc);
+  }
----------------
Yes, I think we might, otherwise I don't see how we are going to allows any 
element type (including user defined types) for pipe without adding a template 
like functionality to C parsing.


http://reviews.llvm.org/D15603



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to