[flang-commits] [flang] [flang][MLIR][OpenMP] Emit `UpdateDataOp` from `!$omp target update` (PR #75345)
Akash Banerjee via flang-commits
flang-commits at lists.llvm.org
Mon Dec 18 08:13:08 PST 2023
================
@@ -2453,6 +2526,34 @@ genEnterExitDataOp(Fortran::lower::AbstractConverter &converter,
deviceOperand, nowaitAttr, mapOperands);
}
+mlir::omp::UpdateDataOp
+genUpdateDataOp(Fortran::lower::AbstractConverter &converter,
----------------
TIFitis wrote:
Do you think it's possible to use the genEnterExitOp function here and add a new case for UpdateOp inside of it? The clauses seem similar to me.
https://github.com/llvm/llvm-project/pull/75345
More information about the flang-commits
mailing list