Break circular dependency between FIR dialect and utilities
[llvm-project.git] / flang / test / Lower / OpenMP / Todo / reduction-arrays.f90
bloba21611faf248ca09aeb396034a718aad3a9df27f
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 types is not supported
5 subroutine reduction_array(y)
6 integer :: x(100), y(100,100)
7 !$omp parallel
8 !$omp do reduction(+:x)
9 do i=1, 100
10 x = x + y(:,i)
11 end do
12 !$omp end do
13 !$omp end parallel
14 print *, x
15 end subroutine