This is an archive of the discontinued LLVM Phabricator instance.

[flang] Generate iteration shape from passed object
ClosedPublic

Authored by clementval on Dec 8 2022, 8:15 AM.

Details

Summary

When call an elemental subroutine with a monomorphic or polymorphic
passed object, the iteration shape could not be computed. Use the
passed object to infer the implicit iteration shape so the loop
can be constructed.

Diff Detail

Event Timeline

clementval created this revision.Dec 8 2022, 8:15 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 8 2022, 8:15 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Dec 8 2022, 8:15 AM
PeteSteinfeld accepted this revision.Dec 8 2022, 9:31 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Dec 8 2022, 9:31 AM
This revision was automatically updated to reflect the committed changes.