[flang] Update allocate lowering to use AllocatableInit.*ForAllocate functions
authorValentin Clement <clementval@gmail.com>
Mon, 20 Mar 2023 09:01:01 +0000 (10:01 +0100)
committerValentin Clement <clementval@gmail.com>
Mon, 20 Mar 2023 09:01:51 +0000 (10:01 +0100)
commit029313cc979ae71877b65794b1063d4e51184cc8
tree7ed1441127c59cf4ef7dfeef7e42b171778768f7
parent52e239794f35be6a68b2273f88a99d9207e77cab
[flang] Update allocate lowering to use AllocatableInit.*ForAllocate functions

Update lowering of allocate statement to use the new
functions defined in D146290.

Depends on D146290

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D146291
flang/lib/Lower/Allocatable.cpp
flang/test/Lower/allocatable-polymorphic.f90
flang/test/Lower/allocatable-runtime.f90
flang/test/Lower/allocate-source-allocatables.f90