[flang][openacc] Use the array section for assumed shape array reduction (#68147)
commit438a6ef277a41048a0b8187ec255e7afb56976e7
authorValentin Clement (バレンタイン クレメン) <clementval@gmail.com>
Tue, 3 Oct 2023 20:38:02 +0000 (3 13:38 -0700)
committerGitHub <noreply@github.com>
Tue, 3 Oct 2023 20:38:02 +0000 (3 13:38 -0700)
tree32a38baea68916d03e6e7aad1d956171af89ad52
parent25a6b891cbcd9aacee404cc0ccceed3248d93dd3
[flang][openacc] Use the array section for assumed shape array reduction (#68147)

Use the bounds information in the reduction recipe for assumed shape
arrays.
flang/include/flang/Optimizer/Dialect/FIRType.h
flang/lib/Lower/OpenACC.cpp
flang/lib/Optimizer/Dialect/FIRType.cpp
flang/test/Lower/OpenACC/acc-reduction.f90