[flang-commits] [flang] [flang][openmp] - depend clause support in target, target enter/update/exit data constructs (PR #81610)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Fri Feb 16 06:01:55 PST 2024


================
@@ -2820,13 +2821,15 @@ genEnterExitUpdateDataOp(Fortran::lower::AbstractConverter &converter,
   } else {
     cp.processMap(currentLocation, directive, stmtCtx, mapOperands);
   }
+  cp.processDepend(dependTypeOperands, dependOperands);
----------------
skatrak wrote:

Ultra-nit: If this doesn't need to happen after `processMap` or `processMotionClauses`, I think it's easier to read if it's placed right below `processNowait` above the 'if'. But feel free to ignore this comment if you don't agree.

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


More information about the flang-commits mailing list