[flang-commits] [flang] [mlir] [flang][OpenMP] Lower target in_reduction for host fallback (PR #199967)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Wed Jun 24 05:15:34 PDT 2026


================

----------------
skatrak wrote:

Nit: Braces.
```suggestion
      if (auto byrefAttr = op.getInReductionByref()) {
        for (bool isByRef : *byrefAttr) {
          if (isByRef) {
            result = todo("in_reduction with byref modifier");
            return;
          }
        }
      }
```

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


More information about the flang-commits mailing list