[flang-commits] [flang] [mlir] [flang][openmp] Changes for invoking scan Op (PR #123254)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Thu Jan 23 03:48:30 PST 2025


================
@@ -514,18 +515,36 @@ static bool doReductionByRef(mlir::Value reductionVar) {
   return false;
 }
 
+mlir::omp::ReductionModifier
+translateReductionModifier(const ReductionModifier &m) {
----------------
skatrak wrote:

Nit: If I'm not wrong, this is just an enum, so we should pass it by value.
```suggestion
translateReductionModifier(ReductionModifier m) {
```

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


More information about the flang-commits mailing list