diff options
author | Hugh Delaney <hugh.delaney@codeplay.com> | 2023-01-04 11:52:08 -0800 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2023-01-04 12:03:00 -0800 |
commit | ce43e2f07477a166712b7ee4a89fbc65d2ed56ad (patch) | |
tree | 6bfe6d61a943f21e4ef0344fb4c5ba6b60320c55 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 56a40cd4abb17e984ae518a9ee838a8292de89d5 (diff) | |
download | llvm-ce43e2f07477a166712b7ee4a89fbc65d2ed56ad.zip llvm-ce43e2f07477a166712b7ee4a89fbc65d2ed56ad.tar.gz llvm-ce43e2f07477a166712b7ee4a89fbc65d2ed56ad.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions