[all-commits] [llvm/llvm-project] e71369: [mlir][OpenMP] Add copyprivate support to omp.sing...
Leandro Lupori via All-commits
all-commits at lists.llvm.org
Thu Feb 15 03:29:36 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e71369fcb039b7a5f555862f49867ee45ec1ccf5
https://github.com/llvm/llvm-project/commit/e71369fcb039b7a5f555862f49867ee45ec1ccf5
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M flang/lib/Lower/OpenMP.cpp
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[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
More information about the All-commits
mailing list