When ARRAY is polymorphic, the result needs to carry over
the dynamic type information. This patch updates the lowering
to make the result polymorphic when needed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D142432
[flang] Support polymorphic input array for PACK intrinsic ClosedPublic Authored by clementval on Jan 24 2023, 12:19 AM.
Details Summary When ARRAY is polymorphic, the result needs to carry over
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 24 2023, 12:19 AM This revision is now accepted and ready to land.Jan 24 2023, 1:17 AM Closed by commit rG4ff863bac455: [flang] Support polymorphic input array for PACK intrinsic (authored by clementval). · Explain WhyJan 24 2023, 1:20 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 491629 flang/lib/Lower/IntrinsicCall.cpp
flang/test/Lower/polymorphic-temp.f90
|