[all-commits] [llvm/llvm-project] ce43e2: [llvm][CUDA] Allow NVVMREflect to process OpenCL-s...
Hugh Delaney via All-commits
all-commits at lists.llvm.org
Wed Jan 4 12:03:44 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ce43e2f07477a166712b7ee4a89fbc65d2ed56ad
https://github.com/llvm/llvm-project/commit/ce43e2f07477a166712b7ee4a89fbc65d2ed56ad
Author: Hugh Delaney <hugh.delaney at codeplay.com>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M llvm/lib/Target/NVPTX/NVVMReflect.cpp
A llvm/test/CodeGen/NVPTX/nvvm-reflect-ocl.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list