[PATCH] D18713: [OpenCL] Generate bitcast when target address space does not change.

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 6 03:00:19 PDT 2016


Anastasia added inline comments.

================
Comment at: test/CodeGenOpenCL/address-spaces-conversions.cl:11
@@ -8,2 +10,3 @@
   arg_gen = arg_glob; // implicit cast global -> generic
   // CHECK: %{{[0-9]+}} = addrspacecast i32 addrspace(1)* %{{[0-9]+}} to i32 addrspace(4)*
+
----------------
Would it make sense to check here and below for NOFAKE too? Basically to check that there is no addrspacecast generated?


http://reviews.llvm.org/D18713





More information about the cfe-commits mailing list