This is an archive of the discontinued LLVM Phabricator instance.

[flang][hlfir] Add TODO for polymorphic vector subscripted entities
ClosedPublic

Authored by jeanPerier on May 5 2023, 9:16 AM.

Details

Summary

I removed the barriers a bit fast. Some mold is needed on
hlfir.elemental for polymorphic vector subscripted designator (and for
parenthesized polymorphic) so that a temporary can be later created.

The parenthesized array case may also just used asExpr and that
could later use AssignTemporary to deal with this. But the vector
subscripted designator case will need to use some new runtime
to get some mold allocation done for the temp.

Add TODOs in the meantime.

Diff Detail

Event Timeline

jeanPerier created this revision.May 5 2023, 9:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 5 2023, 9:16 AM
jeanPerier requested review of this revision.May 5 2023, 9:16 AM
clementval accepted this revision.May 5 2023, 9:22 AM
clementval added a subscriber: clementval.

LGTM

This revision is now accepted and ready to land.May 5 2023, 9:22 AM
vzakhari accepted this revision.May 5 2023, 10:04 AM

Thank you, Jean!