[all-commits] [llvm/llvm-project] 38272f: [flang] Create HostAssoc symbols for uplevel refer...

Tim Keith via All-commits all-commits at lists.llvm.org
Thu Jul 30 07:12:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 38272f45fed3f2233d54ff1495a4433f87215667
      https://github.com/llvm/llvm-project/commit/38272f45fed3f2233d54ff1495a4433f87215667
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2020-07-30 (Thu, 30 Jul 2020)

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

  Log Message:
  -----------
  [flang] Create HostAssoc symbols for uplevel references

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.

Differential Revision: https://reviews.llvm.org/D84889




More information about the All-commits mailing list