This is an archive of the discontinued LLVM Phabricator instance.

[flang][hlfir] Use the assignment runtime for unlimited polymorphic.
ClosedPublic

Authored by vzakhari on Aug 11 2023, 12:55 PM.

Details

Summary

Handle special case of element-per-element assignments generated
for creating a temp for unlimited polymorphic hlfir.expr.
We currently end up generating an invalid fir.store. We should use
the assignment runtime instead.

Diff Detail

Event Timeline

vzakhari created this revision.Aug 11 2023, 12:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2023, 12:55 PM
vzakhari requested review of this revision.Aug 11 2023, 12:55 PM
tblah accepted this revision.Aug 14 2023, 2:22 AM

LGTM, thanks!

This revision is now accepted and ready to land.Aug 14 2023, 2:22 AM

Thank you for the review, Tom. I will fix the test before merging.

This revision was landed with ongoing or failed builds.Aug 14 2023, 10:16 AM
This revision was automatically updated to reflect the committed changes.