[flang-commits] [PATCH] D137951: [flang] Lower symbols to hlfir.declare
Jean Perier via Phabricator via flang-commits
flang-commits at lists.llvm.org
Mon Nov 14 07:23:07 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 project: All.
jeanPerier requested review of this revision.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137951
Files:
flang/include/flang/Optimizer/Builder/HLFIRTools.h
flang/lib/Lower/ConvertVariable.cpp
flang/lib/Optimizer/Builder/HLFIRTools.cpp
flang/test/Lower/HLFIR/constant.f90
flang/test/Lower/HLFIR/convert-variable.f90
flang/test/Lower/HLFIR/expr-addr.f90
flang/test/Lower/HLFIR/expr-box.f90
flang/test/Lower/HLFIR/expr-value.f90
flang/unittests/Optimizer/Builder/HLFIRToolsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137951.475145.patch
Type: text/x-patch
Size: 32586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221114/7729c4c0/attachment-0001.bin>
More information about the flang-commits
mailing list