This is an archive of the discontinued LLVM Phabricator instance.

[flang] Handle dynamic type in move_alloc
ClosedPublic

Authored by clementval on Feb 28 2023, 12:07 PM.

Details

Summary

Update move_alloc to carry over the dyanmic type of from to to
and reset the dynamic type of from to its declared type when it
is polymorphic.

Diff Detail

Event Timeline

clementval created this revision.Feb 28 2023, 12:07 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 28 2023, 12:07 PM
clementval requested review of this revision.Feb 28 2023, 12:07 PM
PeteSteinfeld accepted this revision.Feb 28 2023, 2:28 PM

All builds and tests correctly and looks good to me.

Note that one of the buildbots failed to apply the patch. I didn't see anything wrong with the patch, though.

This revision is now accepted and ready to land.Feb 28 2023, 2:28 PM
This revision was automatically updated to reflect the committed changes.