From 8f38cb0e35d0a1271effb5fb77b5335529c5cbbe Mon Sep 17 00:00:00 2001 From: Kavitha Natarajan Date: Thu, 30 Mar 2023 00:10:16 +0530 Subject: [PATCH] [Flang][OpenMP] Update test case to track an issue Adding CHECK-NOT for the MAX intrinsic implementation for which reduction operation is not generated. Issue #61808 created to track the same. --- flang/test/Lower/OpenMP/wsloop-reduction-max.f90 | 1 + 1 file changed, 1 insertion(+) diff --git a/flang/test/Lower/OpenMP/wsloop-reduction-max.f90 b/flang/test/Lower/OpenMP/wsloop-reduction-max.f90 index 44ea054..433b1d6 100644 --- a/flang/test/Lower/OpenMP/wsloop-reduction-max.f90 +++ b/flang/test/Lower/OpenMP/wsloop-reduction-max.f90 @@ -67,6 +67,7 @@ subroutine reduction_max_real(y) !$omp parallel !$omp do reduction(max:x) do i=1, 100 + !CHECK-NOT: omp.reduction if (y(i) .gt. x) x = y(i) end do !$omp end do -- 2.7.4