[flang-commits] [flang] [Flang][OpenMP]Support for lowering task_reduction and in_reduction to MLIR (PR #111155)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Fri Dec 6 07:22:47 PST 2024


================
@@ -122,6 +125,10 @@ class ClauseProcessor {
   bool processReduction(
       mlir::Location currentLocation, mlir::omp::ReductionClauseOps &result,
       llvm::SmallVectorImpl<const semantics::Symbol *> &reductionSyms) const;
+  bool processTaskReduction(mlir::Location currentLocation,
+                            mlir::omp::TaskReductionClauseOps &result,
+                            llvm::SmallVectorImpl<const semantics::Symbol *>
+                                &TaskReductionSyms) const;
----------------
skatrak wrote:

```suggestion
                                &outReductionSyms) const;
```

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


More information about the flang-commits mailing list