diff options
author | Leandro Lupori <leandro.lupori@linaro.org> | 2024-02-15 08:29:24 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 08:29:24 -0300 |
commit | e71369fcb039b7a5f555862f49867ee45ec1ccf5 (patch) | |
tree | 4fe3d17bcffed8029ea91971a32129509e9b6c21 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 75f0d40507ea3f7c99dd3250ff0fbe6dab341910 (diff) | |
download | llvm-e71369fcb039b7a5f555862f49867ee45ec1ccf5.zip llvm-e71369fcb039b7a5f555862f49867ee45ec1ccf5.tar.gz llvm-e71369fcb039b7a5f555862f49867ee45ec1ccf5.tar.bz2 |
[mlir][OpenMP] Add copyprivate support to omp.single (#80477)
This adds a new custom CopyPrivateVarList to the single operation.
Each list item is formed by a reference to the variable to be
updated, its type and the function to be used to perform the copy.
It will be translated to LLVM IR using OpenMP builder, that will
use the information in the copyprivate list to call
__kmpc_copyprivate.
This is patch 2 of 4, to add support for COPYPRIVATE in Flang.
Original PR: https://github.com/llvm/llvm-project/pull/73128
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions