diff options
author | Jean Perier <jperier@nvidia.com> | 2022-10-24 15:35:19 +0200 |
---|---|---|
committer | Jean Perier <jperier@nvidia.com> | 2022-10-24 15:36:23 +0200 |
commit | c14ef2d762e4f7de2d892af111d87aec79b8cd6f (patch) | |
tree | a16396b6d92d03e8ebfaf57310a93c20464dc246 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | b7c922607c5ba93db8b893d4ba461052af8317b5 (diff) | |
download | llvm-c14ef2d762e4f7de2d892af111d87aec79b8cd6f.zip llvm-c14ef2d762e4f7de2d892af111d87aec79b8cd6f.tar.gz llvm-c14ef2d762e4f7de2d892af111d87aec79b8cd6f.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions