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