[PATCH] D118978: [flang] Basic local variable lowering
Valentin Clement via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 4 05:44:28 PST 2022
clementval marked an inline comment as done.
clementval added inline comments.
================
Comment at: flang/lib/Lower/Bridge.cpp:218
+ const Fortran::semantics::Symbol &sym = var.getSymbol();
+ if (!sym.IsFuncResult() || !funit.primaryResult)
+ instantiateVar(var);
----------------
kiranchandramohan wrote:
> Nit: what is a primaryResult?
There are some information here: https://github.com/llvm/llvm-project/blob/f62a400cdf114ff97fee99d74234c889142a34e7/flang/include/flang/Lower/PFTBuilder.h#L653
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118978/new/
https://reviews.llvm.org/D118978
More information about the llvm-commits
mailing list