[all-commits] [llvm/llvm-project] a5fb40: [flang] add hlfir::FortranEntity class

jeanPerier via All-commits all-commits at lists.llvm.org
Fri Oct 21 04:21:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5fb4028386ebafec289285fae484ce007bdc986
      https://github.com/llvm/llvm-project/commit/a5fb4028386ebafec289285fae484ce007bdc986
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    A flang/include/flang/Optimizer/Builder/HLFIRTools.h
    M flang/lib/Optimizer/Builder/CMakeLists.txt
    A flang/lib/Optimizer/Builder/HLFIRTools.cpp
    A flang/unittests/Optimizer/Builder/HLFIRToolsTest.cpp
    M flang/unittests/Optimizer/CMakeLists.txt

  Log Message:
  -----------
  [flang] add hlfir::FortranEntity class

Add hlfir::FortranEntity class and a first helper to convert it to
fir::ExtendedValue.

The hlfir::FortranEntity will be the core class of the new expression
lowering. It is conceptually very similar to what fir::ExtendedValue
is today, except that it is wrapping single mlir::Value: it holds the
SSA value for a lowered Fortran variable or expression value.

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




More information about the All-commits mailing list