[PATCH] D15914: [OpenCL] Pipe builtin functions

Xiuli PAN via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 19 01:45:23 PST 2016


pxli168 added inline comments.

================
Comment at: lib/CodeGen/CGBuiltin.cpp:1974
@@ +1973,3 @@
+    // Type of the generic packet parameter.
+    unsigned GenericAS =
+        getContext().getTargetAddressSpace(LangAS::opencl_generic);
----------------
Good idea! This can fit different target.


http://reviews.llvm.org/D15914





More information about the cfe-commits mailing list