[flang-commits] [flang] [mlir] [MLIR][OpenMP] Add `private` clause to `omp.parallel` (PR #81452)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Thu Feb 15 07:13:41 PST 2024


================
@@ -291,7 +293,7 @@ def ParallelOp : OpenMP_Op<"parallel", [
                 $allocators_vars, type($allocators_vars)
               ) `)`
           | `proc_bind` `(` custom<ClauseAttr>($proc_bind_val) `)`
-    ) custom<ParallelRegion>($region, $reduction_vars, type($reduction_vars), $reductions) attr-dict
+    ) custom<ParallelRegion>($region, $reduction_vars, type($reduction_vars), $reductions, $private_vars, type($private_vars), $privatizers) attr-dict
----------------
skatrak wrote:

Nit: Can you split this line to 80 characters?

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


More information about the flang-commits mailing list