[flang-commits] [flang] 8f38cb0 - [Flang][OpenMP] Update test case to track an issue

Kavitha Natarajan via flang-commits flang-commits at lists.llvm.org
Wed Mar 29 11:46:30 PDT 2023


Author: Kavitha Natarajan
Date: 2023-03-30T00:16:11+05:30
New Revision: 8f38cb0e35d0a1271effb5fb77b5335529c5cbbe

URL: https://github.com/llvm/llvm-project/commit/8f38cb0e35d0a1271effb5fb77b5335529c5cbbe
DIFF: https://github.com/llvm/llvm-project/commit/8f38cb0e35d0a1271effb5fb77b5335529c5cbbe.diff

LOG: [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.

Added: 
    

Modified: 
    flang/test/Lower/OpenMP/wsloop-reduction-max.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Lower/OpenMP/wsloop-reduction-max.f90 b/flang/test/Lower/OpenMP/wsloop-reduction-max.f90
index 44ea05432def..433b1d63dc98 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


        


More information about the flang-commits mailing list