[flang-commits] [PATCH] D136061: [flang][NFC] Simplify mapSymbolAttributes in symbol lowering

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Oct 17 02:41:05 PDT 2022


jeanPerier created this revision.
jeanPerier added reviewers: clementval, PeteSteinfeld.
jeanPerier added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert.
Herald added a project: All.
jeanPerier requested review of this revision.

mapSymbolAttributes currently has a lot of very similar code for
each kind of explicit shape and scalar symbols.

Refactor it so that the change to lower symbols with fir.declare
can be added in centralized places instead of being scattered.
This is a preparation patch and fir.declare is not yet added.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136061

Files:
  flang/lib/Lower/Bridge.cpp
  flang/lib/Lower/ConvertVariable.cpp
  flang/test/Lower/HLFIR/expr-addr.f90
  flang/test/Lower/HLFIR/expr-box.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136061.468142.patch
Type: text/x-patch
Size: 32376 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221017/3eaeddbb/attachment-0001.bin>


More information about the flang-commits mailing list