[PATCH] D66197: AMDGPU: Add intrinsics for address space identification
Brian Sumner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 11:12:16 PDT 2019
b-sumner added a comment.
In D66197#1629784 <https://reviews.llvm.org/D66197#1629784>, @jdoerfert wrote:
> Do we really need these to be "amdgpu" specific?
Are you envisioning these would be used for OpenCL implementations? OpenCL doesn't exactly have these. It instead has to_<addrspacename> functions which return NULL if the generic pointer isn't actually pointing at a object in <addrrspacename>.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66197/new/
https://reviews.llvm.org/D66197
More information about the llvm-commits
mailing list