[PATCH] D24136: [OpenCL] Fix pipe built-in functions return type.

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 5 09:12:02 PDT 2016

Anastasia added inline comments.

Comment at: test/CodeGenOpenCL/pipe_builtin.cl:64
@@ +63,3 @@
+void test8(read_only pipe int r, write_only pipe int w, global int *ptr) {
+  // verify that return type is correctly casted to i1 value
+  // CHECK: %[[R:[0-9]+]] = call i32 @__read_pipe_2
Could you please add similar test for the other two functions: get_pipe_*_packets?


More information about the cfe-commits mailing list