rjmccall added a comment.

In https://reviews.llvm.org/D26196#592823, @yaxunl wrote:

> Hi John,
>
> It seems the casting from a pointer to different address space is not 
> affected by this change. When a null pointer is casted to different address 
> space, it is casted the same way as an ordinary pointer, e.g. by 
> addrspacecast.


You mean, the code-generation for that knows about your special null pointer 
representation?  That is confusing.


https://reviews.llvm.org/D26196



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to