This is an archive of the discontinued LLVM Phabricator instance.

[flang] Use input type when emboxing/reboxing polymorphic entities
ClosedPublic

Authored by clementval on Dec 13 2022, 12:15 AM.

Details

Summary

When emboxing an entity to a polymorphic box, use the input type to
compute the type code and element size as the box type is too generic.
When reboxing a polymorphic box, get this information from the input
box.

Diff Detail

Event Timeline

clementval created this revision.Dec 13 2022, 12:15 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 13 2022, 12:15 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Dec 13 2022, 12:15 AM
jeanPerier accepted this revision.Dec 13 2022, 12:34 AM

Makes sense

This revision is now accepted and ready to land.Dec 13 2022, 12:34 AM