[PATCH] D26157: [OpenCL] always use SPIR address spaces for kernel_arg_addr_space MD

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 31 11:21:31 PDT 2016


Anastasia added a comment.

It looks good generally. My only concern here if anyone could use this MD expecting target AS values which correspond to those put in the IR itself. On the other hand clGetKernelArgInfo is supposed to be used for obtaining the information about the original source which I agree we are not preserving any longer.


Repository:
  rL LLVM

https://reviews.llvm.org/D26157





More information about the cfe-commits mailing list