aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/LockFileManager.cpp
diff options
context:
space:
mode:
authorSven van Haastregt <sven.vanhaastregt@arm.com>2024-07-03 13:24:22 +0200
committerGitHub <noreply@github.com>2024-07-03 13:24:22 +0200
commit5fd5b8ada70d9cbdaa8cc5bea50a6314e3140364 (patch)
tree95cd60e25c8fcd337edbc5cde43e056f62962c96 /llvm/lib/Support/LockFileManager.cpp
parentbcb7c38af7de59f3b2201734ee11987839cd7bbe (diff)
downloadllvm-5fd5b8ada70d9cbdaa8cc5bea50a6314e3140364.zip
llvm-5fd5b8ada70d9cbdaa8cc5bea50a6314e3140364.tar.gz
llvm-5fd5b8ada70d9cbdaa8cc5bea50a6314e3140364.tar.bz2
[OpenCL] Emit opencl.cxx.version metadata for C++ (#92140)
Currently there is no way to tell whether an IR module was generated using `-cl-std=cl3.0` or `-cl-std=clc++2021`, i.e., whether the origin was a OpenCL C or C++ for OpenCL source. Add new `opencl.cxx.version` named metadata when compiling C++. Keep the `opencl.ocl.version` metadata to convey the compatible OpenCL C version. Fixes https://github.com/llvm/llvm-project/issues/91912
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions