Continuing the effort of moving polymorphic types related operation into the fir-polymorphic-op pass
Lowering fir.dispatch before target-rewrite enables target-rewrite to operate on these calls.
Paths
| Differential D146594
[flang] Lower fir.dispatch in the fir-polymorphic-op pass ClosedPublic Authored by Renaud-K on Mar 21 2023, 5:04 PM.
Details Summary Continuing the effort of moving polymorphic types related operation into the fir-polymorphic-op pass Lowering fir.dispatch before target-rewrite enables target-rewrite to operate on these calls.
Diff Detail
Event TimelineComment Actions All builds and tests correctly and looks good to me. But I'll leave it to someone with more relevant expertise to approve. Comment Actions Needed to reformat runtime-type-info.cpp with a version 15 of clang-format to make the buildbot happy Comment Actions Looks good to me, thanks for simplifying codegen and making transformations more modular. This revision is now accepted and ready to land.Mar 23 2023, 3:09 AM Closed by commit rG4c5dee7773dc: [flang] Lowering fir.dispatch in the polymorphic op pass (authored by Renaud-K). · Explain WhyMar 23 2023, 9:41 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 507460 flang/include/flang/Semantics/runtime-type-info.h
flang/lib/Optimizer/CodeGen/CodeGen.cpp
flang/lib/Optimizer/Transforms/PolymorphicOpConversion.cpp
flang/lib/Semantics/runtime-type-info.cpp
flang/test/Fir/dispatch.f90
flang/test/Lower/allocatable-polymorphic.f90
|