[all-commits] [llvm/llvm-project] b24726: [mlir][OpenMP] Add copyprivate support to omp.single
Leandro Lupori via All-commits
all-commits at lists.llvm.org
Fri Feb 2 12:08:29 PST 2024
Branch: refs/heads/users/luporl/copypriv-omp
Home: https://github.com/llvm/llvm-project
Commit: b24726575caeea975cf68679f01438a369ddce85
https://github.com/llvm/llvm-project/commit/b24726575caeea975cf68679f01438a369ddce85
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-02-02 (Fri, 02 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
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