[flang-commits] [flang] [flang][OpenMP] Add `reduction` clause support to `loop` directive (PR #128849)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Thu Feb 27 07:12:09 PST 2025
================
@@ -294,3 +294,22 @@ subroutine teams_loop_cannot_be_parallel_for_4
!$omp end parallel
END DO
end subroutine
+
+! CHECK-LABEL: func.func @_QPloop_parallel_bind_reduction
+subroutine loop_parallel_bind_reduction
----------------
skatrak wrote:
Can you add one of these reduction tests for the `distribute parallel do` case? That way we test the `rewriteToDistributeParallelDo` function.
https://github.com/llvm/llvm-project/pull/128849
More information about the flang-commits
mailing list