[all-commits] [llvm/llvm-project] 34d3f3: [flang] Lower symbols to hlfir.declare

jeanPerier via All-commits all-commits at lists.llvm.org
Tue Nov 15 00:50:47 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 34d3f3fbedc0cc1db5acca5b7eb6a3e304316b13
      https://github.com/llvm/llvm-project/commit/34d3f3fbedc0cc1db5acca5b7eb6a3e304316b13
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/HLFIRTools.h
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/lib/Optimizer/Builder/HLFIRTools.cpp
    M flang/test/Lower/HLFIR/constant.f90
    M flang/test/Lower/HLFIR/convert-variable.f90
    M flang/test/Lower/HLFIR/expr-addr.f90
    M flang/test/Lower/HLFIR/expr-box.f90
    M flang/test/Lower/HLFIR/expr-value.f90
    M flang/unittests/Optimizer/Builder/HLFIRToolsTest.cpp

  Log Message:
  -----------
  [flang] Lower symbols to hlfir.declare

Update lowering to generate hlfir.declare instead of fir.declare.
Introduce the hlfir::Entity class that will be used to work with
Fortran objects in HLFIR transformation.

Fix lower bounds that where swapped with extents in fir.declare
generation.

Update tests that expected fir.declare.

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




More information about the All-commits mailing list