Files
clang-p2996/llvm/lib/Target/NVPTX/NVVMReflect.cpp
Hugh Delaney ce43e2f074 [llvm][CUDA] Allow NVVMREflect to process OpenCL-specific __nvvm_reflect_ocl()
OpenCL requires constant string arguments to be in a particular address space,
so OpenCL sources can't use the regular `__nvvm_reflect()`.

Allow NVVMReflect pass to accept an Open_CL specific variant with a constant
string in a non-default address space.

Differential Revision: https://reviews.llvm.org/D139213
2023-01-04 12:03:00 -08:00

7.3 KiB