This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Use Descriptor::Establish() in elemental derived type defined assignment calls
ClosedPublic

Authored by klausler on Mar 9 2023, 4:39 PM.

Details

Summary

The code in DoElementalDefinedAssignment() needs to establish its
to & from per-element descriptors with Establish() rather than
copying an array's descriptor and then setting its rank to zero;
the current technique loses the information in the addendum.

Diff Detail

Event Timeline

klausler created this revision.Mar 9 2023, 4:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2023, 4:39 PM
klausler requested review of this revision.Mar 9 2023, 4:39 PM
This revision is now accepted and ready to land.Mar 10 2023, 12:12 AM