[Mlir-commits] [flang] [mlir] [mlir][OpenMP] - MLIR to LLVMIR translation support for delayed privatization of allocatables in `omp.target` ops (PR #116576)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Dec 2 04:12:15 PST 2024
================
@@ -135,6 +135,16 @@ def PrivateClauseOp : OpenMP_Op<"private", [IsolatedFromAbove, RecipeInterface]>
auto ®ion = getDeallocRegion();
return region.empty() ? nullptr : region.getArgument(0);
}
+
+ /// privatizerNeedsMap returns true if the value being privatized in an
+ /// omp.target p should additionally be mapped to the target region
+ /// using a MapInfoOp. This is most common when an allocatable is privatized.
+ /// In such cases, the descriptor is use in privatization and needs to be
----------------
NimishMishra wrote:
"descriptor is use in privatization" -> "descriptor is used in privatization"
https://github.com/llvm/llvm-project/pull/116576
More information about the Mlir-commits
mailing list