[all-commits] [llvm/llvm-project] 0fc42b: [flang][hlfir] Emit hlfir.declare inside internal ...
jeanPerier via All-commits
all-commits at lists.llvm.org
Tue Feb 7 06:31:06 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0fc42b38a2d907d76098cf8a30ebc5f444ea586a
https://github.com/llvm/llvm-project/commit/0fc42b38a2d907d76098cf8a30ebc5f444ea586a
Author: Jean Perier <jperier at nvidia.com>
Date: 2023-02-07 (Tue, 07 Feb 2023)
Changed paths:
M flang/lib/Lower/HostAssociations.cpp
A flang/test/Lower/HLFIR/internal-procedures.f90
Log Message:
-----------
[flang][hlfir] Emit hlfir.declare inside internal procedures
Captured variables inside internal procedure do not go though
Fortran::lower::instantiateVar because the specification expressions
should no be lowered again, and instead, all the information must be
taken from the host link argument.
There is nothing very special to do for HLFIR, but the hlfir.declare
should be emitted for the instantiated captured variable and mapped
to the symbol.
Differential Revision: https://reviews.llvm.org/D143481
More information about the All-commits
mailing list