This is an archive of the discontinued LLVM Phabricator instance.

[flang] Keep a fir.box type when doing an array of derived type component
ClosedPublic

Authored by clementval on Jan 24 2023, 5:44 AM.

Details

Summary

When referencing a single component from a polymorphic array in an expression,
the rebox operation should output a boxed array of that component type and
not a polymorphic boxed array as it was done.

Diff Detail

Event Timeline

clementval created this revision.Jan 24 2023, 5:44 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 24 2023, 5:44 AM
clementval requested review of this revision.Jan 24 2023, 5:44 AM
PeteSteinfeld edited the summary of this revision. (Show Details)Jan 24 2023, 6:13 AM
PeteSteinfeld accepted this revision.Jan 24 2023, 6:23 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Jan 24 2023, 6:23 AM