[flang-commits] [flang] [llvm] [Flang][OpenMP] Initial defaultmap implementation (PR #135226)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Wed Apr 30 08:32:24 PDT 2025


================
@@ -1718,10 +1719,11 @@ static void genTargetClauses(
   cp.processMap(loc, stmtCtx, clauseOps, &mapSyms);
   cp.processNowait(clauseOps);
   cp.processThreadLimit(stmtCtx, clauseOps);
+  cp.processDefaultMap(defaultMaps, stmtCtx);
----------------
skatrak wrote:

Nit: Move above `cp.processDepend()` to keep alphabetical order (this helps keeping clause evaluation order consistent). If there's a reason why it should be evaluated after some other clause, it would need documenting.

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


More information about the flang-commits mailing list