[flang][openacc] Update materialization recipe for private copy in reduction init...
authorValentin Clement <clementval@gmail.com>
Mon, 24 Jul 2023 16:33:09 +0000 (09:33 -0700)
committerValentin Clement <clementval@gmail.com>
Mon, 24 Jul 2023 16:33:39 +0000 (09:33 -0700)
commit9d8e4759a806dd16fc59901d031ebd03f1da0183
treeeee27dcd67032715a94868bce60a00dcb8af6f9a
parent44eca64224f4e0714a71d46489be066b3187f4e4
[flang][openacc] Update materialization recipe for private copy in reduction init region

Update the code generated in the init region to materialize the private
copy.

Reviewed By: razvanlupusoru

Differential Revision: https://reviews.llvm.org/D155882
flang/lib/Lower/OpenACC.cpp
flang/test/Lower/OpenACC/acc-kernels-loop.f90
flang/test/Lower/OpenACC/acc-loop.f90
flang/test/Lower/OpenACC/acc-parallel-loop.f90
flang/test/Lower/OpenACC/acc-parallel.f90
flang/test/Lower/OpenACC/acc-reduction.f90
flang/test/Lower/OpenACC/acc-serial-loop.f90
flang/test/Lower/OpenACC/acc-serial.f90