The polymorphic temporary array is created using the provided mold
and the shape of the hlfir.elemental. The array is allocated right away,
because it is going to be initialized element per element.
Depends on D157315
Paths
| Differential D157316
[flang][hlfir] Codegen for polymorphic hlfir.elemental. ClosedPublic Authored by vzakhari on Aug 7 2023, 11:36 AM.
Details Summary The polymorphic temporary array is created using the provided mold Depends on D157315
Diff Detail
Event Timelinevzakhari added a child revision: D157317: [flang][hlfir] Support MERGE with polymorphic arguments..Aug 7 2023, 11:38 AM This revision is now accepted and ready to land.Aug 7 2023, 1:13 PM Closed by commit rGa3d560342cab: [flang][hlfir] Codegen for polymorphic hlfir.elemental. (authored by vzakhari). · Explain WhyAug 8 2023, 9:59 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 548265 flang/include/flang/Optimizer/Builder/Runtime/Allocatable.h
flang/lib/Optimizer/Builder/Runtime/Allocatable.cpp
flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
flang/test/HLFIR/elemental-codegen.fir
|