[PATCH] D26196: Add support for non-zero null pointer for C and OpenCL
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 11 07:12:41 PST 2016
yaxunl added a comment.
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.
I think this patch covers most of the changes that is needed for supporting non-zero null pointer in C and OpenCL. Is there anything else missing?
Thanks.
https://reviews.llvm.org/D26196
More information about the cfe-commits
mailing list