[flang-commits] [flang] [llvm] [flang][mlir] Add flang to mlir lowering for dyn_groupprivate (PR #180938)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Tue May 12 08:48:39 PDT 2026


================
@@ -1938,6 +1938,7 @@ static void genTeamsClauses(
   }
 
   cp.processReduction(loc, clauseOps, reductionSyms);
+  cp.processDynGroupprivate(stmtCtx, clauseOps);
----------------
skatrak wrote:

Nit: Move below `processAllocate` for now, though it might be a good idea to add a TODO comment above it along the lines of: "Only evaluate it here if it's not host-evaluated, like num_teams and thread_limit".

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


More information about the flang-commits mailing list