[all-commits] [llvm/llvm-project] c14ef2: [flang] Add kernel to lower expressions to HLFIR
jeanPerier via All-commits
all-commits at lists.llvm.org
Mon Oct 24 06:38:15 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c14ef2d762e4f7de2d892af111d87aec79b8cd6f
https://github.com/llvm/llvm-project/commit/c14ef2d762e4f7de2d892af111d87aec79b8cd6f
Author: Jean Perier <jperier at nvidia.com>
Date: 2022-10-24 (Mon, 24 Oct 2022)
Changed paths:
A flang/include/flang/Lower/ConvertExprToHLFIR.h
M flang/include/flang/Lower/SymbolMap.h
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CMakeLists.txt
A flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Lower/SymbolMap.cpp
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/test/Lower/HLFIR/expr-addr.f90
M flang/test/Lower/HLFIR/expr-box.f90
Log Message:
-----------
[flang] Add kernel to lower expressions to HLFIR
This patch adds the kernel to lower evaluate::Expr to HLFIR to a
hlfir::FortranEntity (a single mlir::Value that can be interpreted as
a Fortran variable or the value of a Fortram expression).
It implements lowering of simple name designators ("x") and starts
adding a translation layer in AbstractConverter::genExprBox and
AbstractConverter::genExprAddr so that the new expression lowering
can be used without any changes for now in the current statement and
construct lowering.
Differential Revision: https://reviews.llvm.org/D136453
More information about the All-commits
mailing list