[PATCH] D26157: [OpenCL] always use SPIR address spaces for kernel_arg_addr_space MD
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 3 10:32:26 PDT 2016
yaxunl added a comment.
The enum for address space is not necessarily bound to SPIR as long as the runtime knows it.
Since most OpenCL runtime already uses that definition (if they use clang as compiler), I don't see a reason to change that. I doubt this metadata can be used for anything else other than clGetKernelArgInfo, therefore other languages most likely do not need it.
More information about the cfe-commits