[flang-commits] [flang] [flang][OpenMP] Move reductions from `loop` to `teams` when `loop` is mapped to `distribute` (PR #132920)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Mon Mar 31 07:10:05 PDT 2025


================
@@ -59,8 +59,36 @@ class GenericLoopConversionPattern
     case GenericLoopCombinedInfo::TeamsLoop:
       if (teamsLoopCanBeParallelFor(loopOp))
----------------
skatrak wrote:

Nit: Add braces, since the 'else' has them.

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


More information about the flang-commits mailing list