This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix Symbol::Rank for ProcEntityDetails
ClosedPublic

Authored by klausler on Apr 13 2022, 1:12 PM.

Details

Summary

When a procedure pointer or procedure dummy argument has a
defined interface, the rank of the pointer (or dummy) is the
rank of the interface.

Also tweak code discovered in shape analysis when investigating
this problam so that it returns a vector of emptied extents rather
than std::nullopt when the extents are not scope-invariant, so that
the rank can at least be known.

Diff Detail

Event Timeline

klausler created this revision.Apr 13 2022, 1:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 1:12 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Apr 13 2022, 1:12 PM
vdonaldson accepted this revision.Apr 13 2022, 3:36 PM
This revision is now accepted and ready to land.Apr 13 2022, 3:36 PM
This revision was automatically updated to reflect the committed changes.