[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 09:06:45 PDT 2016


yaxunl added a comment.

One purpose of kernel arg info metadata is to be passed to OpenCL runtime to fulfill clGetKernelArgInfo queries. (https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetKernelArgInfo.html). As such, the address space id needs to be at source level instead of IR level.


Repository:
  rL LLVM

https://reviews.llvm.org/D26157





More information about the cfe-commits mailing list