[Mlir-commits] [flang] [mlir] [OpenMP][mlir] Add DynGroupPrivateClause in omp dialect (PR #153562)

Sergio Afonso llvmlistbot at llvm.org
Tue Apr 7 09:13:19 PDT 2026


skatrak wrote:

> But need to figure out on the lowering when the clause is only present on `teams` . `createTeams` in `ompIRBuilder` currently doesn't accept anything related to `dyn_groupprivate` fields.

Is it semantically equivalent to having the clause placed at the `target` instead of the `teams` level? If so, you might want to consider making it a host-evaluated clause like `num_teams` or `thread_limit`. Then, the size would always be available when translating the `omp.target` operation, so you'd be able to pass it to the `createTarget` OMPIRBuilder call.

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


More information about the Mlir-commits mailing list