From: Kavitha Natarajan Date: Wed, 29 Mar 2023 18:40:16 +0000 (+0530) Subject: [Flang][OpenMP] Update test case to track an issue X-Git-Tag: upstream/17.0.6~13288 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f38cb0e35d0a1271effb5fb77b5335529c5cbbe;p=platform%2Fupstream%2Fllvm.git [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. --- 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