[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:37 PDT 2026


================
@@ -116,6 +119,12 @@ llvm::raw_ostream &operator<<(
     x.printClauseSet(os, dtgt);
     os << ')';
   }
+  if (const OmpClauseSet &gp{x.ompGroupprivate()}; gp.count()) {
----------------
skc7 wrote:

In the latest patch, `OmpAttributeVisitor::Pre(OmpGroupprivateDirective)` always records a device_type clause, so clause-less directives are printed here and in .mod files too.

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


More information about the flang-commits mailing list