This is an archive of the discontinued LLVM Phabricator instance.

[flang] Handle polymorphic argument when expecting boxed derived-type
ClosedPublic

Authored by clementval on Nov 28 2022, 9:45 AM.

Details

Summary

Perform a rebox instead of a convert operation when the input type is
polymorphic and the output type is a boxed derived-type.

Diff Detail

Event Timeline

clementval created this revision.Nov 28 2022, 9:45 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 28 2022, 9:45 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Nov 28 2022, 9:45 AM
PeteSteinfeld accepted this revision.Nov 28 2022, 10:43 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Nov 28 2022, 10:43 AM