[PATCH] D84889: [flang] Create HostAssoc symbols for uplevel references

Tim Keith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 14:32:21 PDT 2020


tskeith created this revision.
tskeith added reviewers: klausler, PeteSteinfeld, schweitz, jeanPerier.
tskeith added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
tskeith requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84889

Files:
  flang/lib/Semantics/resolve-names.cpp
  flang/lib/Semantics/tools.cpp
  flang/test/Semantics/symbol02.f90
  flang/test/Semantics/symbol03.f90
  flang/test/Semantics/symbol05.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84889.281741.patch
Type: text/x-patch
Size: 3914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200729/3c52f145/attachment.bin>


More information about the llvm-commits mailing list