[flang-commits] [PATCH] D137789: [flang] Add hlfir.declare codegen
Jean Perier via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Nov 10 08:17:25 PST 2022
jeanPerier created this revision.
jeanPerier added reviewers: clementval, PeteSteinfeld.
jeanPerier added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a reviewer: awarzynski.
Herald added a project: All.
jeanPerier requested review of this revision.
Herald added a reviewer: nicolasvasilache.
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.
Depends on D137781 <https://reviews.llvm.org/D137781>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137789
Files:
flang/include/flang/Optimizer/Dialect/FortranVariableInterface.td
flang/include/flang/Optimizer/HLFIR/CMakeLists.txt
flang/include/flang/Optimizer/HLFIR/Passes.h
flang/include/flang/Optimizer/HLFIR/Passes.td
flang/lib/Frontend/CMakeLists.txt
flang/lib/Optimizer/HLFIR/CMakeLists.txt
flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
flang/test/HLFIR/declare-codegen.fir
flang/tools/bbc/CMakeLists.txt
flang/tools/fir-opt/CMakeLists.txt
flang/tools/fir-opt/fir-opt.cpp
flang/tools/tco/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137789.474554.patch
Type: text/x-patch
Size: 23984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221110/4c61edbb/attachment-0001.bin>
More information about the flang-commits
mailing list