This is an archive of the discontinued LLVM Phabricator instance.

[flang][hlfir] Lower left-hand side vector subscripts to HLFIR
ClosedPublic

Authored by jeanPerier on May 5 2023, 8:03 AM.

Details

Summary

This patch lowers assignments to vector subscripted designators into the
newly added hlfir.elemental_addr and hlfir.region_assign.

Note that the codegen of these operation to FIR is still TODO and will
still emit a TODO message when trying to compile programs end to end.

Depends on D149950

Diff Detail

Event Timeline

jeanPerier created this revision.May 5 2023, 8:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 5 2023, 8:03 AM
jeanPerier requested review of this revision.May 5 2023, 8:03 AM
This revision is now accepted and ready to land.May 5 2023, 9:51 AM
tblah added a comment.May 9 2023, 3:21 AM

Thanks for this!