Break circular dependency between FIR dialect and utilities
[llvm-project.git] / flang / test / Lower / OpenMP / Todo / reduction-or.f90
blobf88428b93c31eed26f97a829da7f6aaeaea5608f
1 ! RUN: %not_todo_cmd bbc -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s
2 ! RUN: %not_todo_cmd %flang_fc1 -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s
4 ! CHECK: not yet implemented: Reduction of some intrinsic operators is not supported
5 subroutine reduction_or(y)
6 logical :: x, y(100)
7 !$omp parallel
8 !$omp do reduction(.or.:x)
9 do i=1, 100
10 x = x .or. y(i)
11 end do
12 !$omp end do
13 !$omp end parallel
14 print *, x
15 end subroutine