[all-commits] [llvm/llvm-project] 3b2915: [flang] Add hlfir.declare codegen
jeanPerier via All-commits
all-commits at lists.llvm.org
Mon Nov 14 02:20:34 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3b29159da0945cd657aa4ef4ca52c7a386dd72b3
https://github.com/llvm/llvm-project/commit/3b29159da0945cd657aa4ef4ca52c7a386dd72b3
Author: Jean Perier <jperier at nvidia.com>
Date: 2022-11-14 (Mon, 14 Nov 2022)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FortranVariableInterface.td
M flang/include/flang/Optimizer/HLFIR/CMakeLists.txt
A flang/include/flang/Optimizer/HLFIR/Passes.h
A flang/include/flang/Optimizer/HLFIR/Passes.td
M flang/lib/Frontend/CMakeLists.txt
M flang/lib/Optimizer/HLFIR/CMakeLists.txt
A flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
A flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
A flang/test/HLFIR/declare-codegen.fir
M flang/tools/bbc/CMakeLists.txt
M flang/tools/fir-opt/CMakeLists.txt
M flang/tools/fir-opt/fir-opt.cpp
M flang/tools/tco/CMakeLists.txt
Log Message:
-----------
[flang] Add hlfir.declare codegen
hlfir.declare codegen generates a fir.declare, and may generate a
fir.embox/fir.rebox/fir.emboxchar if the base value does not convey
all the variable bounds and length parameter information.
Leave OPTIONAL as a TODO to keep this patch simple. It will require
making the embox/rebox optional to preserve the optionality aspects.
Differential Revision: https://reviews.llvm.org/D137789
More information about the All-commits
mailing list