This is an archive of the discontinued LLVM Phabricator instance.

[flang] Rebox the polymorphic argument in merge intrinsic
ClosedPublic

Authored by clementval on Mar 15 2023, 6:08 AM.

Details

Summary

When fsource or tsource is not polymorphic, the result is not
polymorphic. Rebox the polymoprhic arguement so the dynamic
type of the result is correct.

Diff Detail

Event Timeline

clementval created this revision.Mar 15 2023, 6:08 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 15 2023, 6:08 AM
clementval requested review of this revision.Mar 15 2023, 6:08 AM
PeteSteinfeld accepted this revision.Mar 15 2023, 6:30 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Mar 15 2023, 6:30 AM