[PATCH] D53780: Fix bitcast to address space cast for coerced load/stores

David Salinas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 2 14:15:00 PDT 2018


david-salinas updated this revision to Diff 172261.
david-salinas added a comment.

As per rjmccall's comments, changed the call to CreatePointerBitCastOrAddrSpaceCast back to a call to CreateBitCast, but now we're casting to the int8* with the address space of the target.


https://reviews.llvm.org/D53780

Files:
  lib/CodeGen/CGCall.cpp
  test/CodeGenCXX/address-space-cast-coerce.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53780.172261.patch
Type: text/x-patch
Size: 3961 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181102/fa346bf4/attachment-0001.bin>


More information about the cfe-commits mailing list