| Issue |
58186
|
| Summary |
[Flang][OpenMP] Reduction support for arrays
|
| Labels |
|
| Assignees |
|
| Reporter |
kiranchandramohan
|
Support reduction of arrays in Flang.
Check: Does OpenMP MLIR dialect or lowering need an extension for this?
```
subroutine reduction_array(y)
integer :: x(100), y(100,100)
!$omp parallel
!$omp do reduction(+:x)
do i=1, 100
x = x + y(:,i)
end do
!$omp end do
!$omp end parallel
print *, x
end subroutine
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs