[llvm-branch-commits] [flang] [flang][OpenMP] Map basic `local` specifiers to `private` clauses (PR #142735)

Michael Klemm via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jun 9 23:48:15 PDT 2025


================
@@ -308,10 +310,47 @@ class DoConcurrentConversion
               fir::DoConcurrentLoopOp loop, mlir::IRMapping &mapper,
               const mlir::omp::LoopNestOperands &clauseOps,
               bool isComposite) const {
+    mlir::omp::WsloopOperands wsloopClauseOps;
+
+    // For `local` (and `local_init`) opernads, emit corresponding `private`
----------------
mjklemm wrote:

```suggestion
    // For `local` (and `local_init`) operands, emit corresponding `private`
```

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


More information about the llvm-branch-commits mailing list