[flang][hlfir] Array constructor lowering [part 3/4]
authorJean Perier <jperier@nvidia.com>
Fri, 24 Feb 2023 08:09:52 +0000 (09:09 +0100)
committerJean Perier <jperier@nvidia.com>
Fri, 24 Feb 2023 08:11:28 +0000 (09:11 +0100)
commit9683a9c9989a3ab40fde9afdcdc5ba7e203e3728
tree2e352e77cc60184b81c65f431821b807e6644735
parent8f5962b1ccb5fcd4d4544121d43efb860ac3cc6d
[flang][hlfir] Array constructor lowering [part 3/4]

Lower the cases that require runtime support to deal
with the allocation, reallocation, or copy of ac-values to
the array constructor storage.

Differential Revision: https://reviews.llvm.org/D144513
flang/include/flang/Optimizer/Builder/FIRBuilder.h
flang/include/flang/Optimizer/Builder/Runtime/ArrayConstructor.h [new file with mode: 0644]
flang/lib/Lower/ConvertArrayConstructor.cpp
flang/lib/Optimizer/Builder/CMakeLists.txt
flang/lib/Optimizer/Builder/FIRBuilder.cpp
flang/lib/Optimizer/Builder/Runtime/ArrayConstructor.cpp [new file with mode: 0644]
flang/test/Lower/HLFIR/array-ctor-as-runtime-temp.f90 [new file with mode: 0644]