[flang-commits] [flang] [Flang][OpenMP] readd enable-delayed-privatization-staging for implic… (PR #204466)

Pranav Bhandarkar via flang-commits flang-commits at lists.llvm.org
Thu Jun 25 09:53:11 PDT 2026


================
@@ -2010,6 +2010,11 @@ genTargetClauses(lower::AbstractConverter &converter,
   cp.processThreadLimit(stmtCtx, clauseOps);
   cp.processTODO<clause::Allocate, clause::InReduction, clause::UsesAllocators>(
       loc, llvm::omp::Directive::OMPD_target);
+
+  // `target private(..)` is only supported in delayed privatization mode.
+  if (!enableDelayedPrivatization)
----------------
bhandarkar-pranav wrote:

Just curious, why you have chosen to put this back under this flag?

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


More information about the flang-commits mailing list