[flang-commits] [flang] [flang][mlir] Add flang to mlir lowering for groupprivate (PR #180934)

via flang-commits flang-commits at lists.llvm.org
Wed Jun 10 02:52:55 PDT 2026


================
@@ -4628,7 +4746,9 @@ static void genOMP(lower::AbstractConverter &converter, lower::SymMap &symTable,
                    semantics::SemanticsContext &semaCtx,
                    lower::pft::Evaluation &eval,
                    const parser::OmpGroupprivateDirective &directive) {
-  TODO(converter.getCurrentLocation(), "GROUPPRIVATE");
+  // The semantic analysis sets the flag and device_type on the
+  // symbols; omp.groupprivate is materialised on first use in a teams region
+  // by groupprivatizeVars.
----------------
skc7 wrote:

Updated.

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


More information about the flang-commits mailing list