fir.dispatch code generation was not handling fir.class pointer and
allocatable types. Update the code generation part to rertieve correctly the
the type info from those types.
Depends on D136426
Paths
| Differential D136429
[flang] Handle fir.class pointer and allocatable in fir.dispatch code gen ClosedPublic Authored by clementval on Oct 21 2022, 1:24 AM.
Details Summary fir.dispatch code generation was not handling fir.class pointer and Depends on D136426
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 21 2022, 1:24 AM clementval added a parent revision: D136426: [flang] Lower and code gen for allocate on polymorphic entities.Oct 21 2022, 1:24 AM
jeanPerier added inline comments.
This revision is now accepted and ready to land.Oct 21 2022, 1:53 AM Closed by commit rGdfcc0a70cc5d: [flang] Handle fir.class pointer and allocatable in fir.dispatch code gen (authored by clementval). · Explain WhyOct 21 2022, 5:35 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 469563 flang/lib/Lower/ConvertExpr.cpp
flang/lib/Optimizer/CodeGen/CodeGen.cpp
flang/test/Lower/allocatable-polymorphic.f90
|
Is this handling array passed objects (I would expect this code to unwrap a potential sequence type) ?