This is an archive of the discontinued LLVM Phabricator instance.

[flang] Create HostAssoc symbols for uplevel references
ClosedPublic

Authored by tskeith on Jul 29 2020, 2:32 PM.

Details

Summary

To make it easier for lowering to identify which symbols from the host
are captured by internal subprograms, create HostAssocDetails for them.

In particular, if a symbol is referenced and it is contained in a
subprogram or main program that is not the same as the containing
program unit of the reference, a HostAssocDetails symbol is created
in the current scope.

Diff Detail

Event Timeline

tskeith created this revision.Jul 29 2020, 2:32 PM
Herald added a project: Restricted Project. · View Herald Transcript
tskeith requested review of this revision.Jul 29 2020, 2:32 PM
PeteSteinfeld accepted this revision.Jul 29 2020, 4:44 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jul 29 2020, 4:44 PM
jeanPerier accepted this revision.Jul 30 2020, 5:18 AM

Looks good to me, thanks for implementing this.

This revision was landed with ongoing or failed builds.Jul 30 2020, 7:12 AM
This revision was automatically updated to reflect the committed changes.