[Mlir-commits] [flang] [mlir] [mlir][OpenMP] - MLIR to LLVMIR translation support for delayed privatization of allocatables in `omp.target` ops (PR #113208)

Kareem Ergawy llvmlistbot at llvm.org
Thu Oct 24 06:08:29 PDT 2024


================
@@ -3316,7 +3316,51 @@ createDeviceArgumentAccessor(MapInfoData &mapData, llvm::Argument &arg,
 
   return builder.saveIP();
 }
+static bool privatizerNeedsMap(omp::PrivateClauseOp &privatizer) {
----------------
ergawy wrote:

Can we add this as a method to the op's definition instead?

https://github.com/llvm/llvm-project/pull/113208


More information about the Mlir-commits mailing list