[flang][hlfir] Lower forall to HLFIR
authorJean Perier <jperier@nvidia.com>
Tue, 9 May 2023 07:18:53 +0000 (09:18 +0200)
committerJean Perier <jperier@nvidia.com>
Tue, 9 May 2023 07:20:23 +0000 (09:20 +0200)
commitb87e65531c58df55cfae4c06c7a68f84539aa779
treecb38696142e603b156d9973950bd962749ec44e8
parent9d7eb6008716eec7434e6ae07a804b5f2f39a575
[flang][hlfir] Lower forall to HLFIR

Lower Forall to the previously added hlfir.forall, hlfir.forall_mask.
hlfir.forall_index, and hlfir.region_assign operations.

The HLFIR assignment code lowering is moved into genDataAssignment for
more readability and so that user defined assignment (still a TODO),
will be able to share most of the logic.

Differential Revision: https://reviews.llvm.org/D149878
flang/lib/Lower/Bridge.cpp
flang/test/Lower/HLFIR/forall.f90 [new file with mode: 0644]