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

John McCall via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 1 14:48:18 PDT 2016


rjmccall added inline comments.

================
Comment at: lib/CodeGen/CGExprScalar.cpp:1421
@@ -1415,1 +1420,3 @@
+    else
+      return Builder.CreateBitCast(Src, DstTy);
   }
----------------
This is just CreatePointerBitCastOrAddrSpaceCast.


http://reviews.llvm.org/D18713





More information about the cfe-commits mailing list