aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJean Perier <jperier@nvidia.com>2023-02-27 09:05:11 +0100
committerJean Perier <jperier@nvidia.com>2023-02-27 09:05:41 +0100
commite5921ef021efa7e696421069d294d66e58df2541 (patch)
tree29e1c7c35b0e5c973d0c55974fe5582a3fafe651 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent713b3ad43850ad9fc89b89f53ab37b54f744ec70 (diff)
downloadllvm-e5921ef021efa7e696421069d294d66e58df2541.zip
llvm-e5921ef021efa7e696421069d294d66e58df2541.tar.gz
llvm-e5921ef021efa7e696421069d294d66e58df2541.tar.bz2
[flang][hlfir] Lower associate construct to HLFIR
- always use genExprAddr when lowering to HLFIR: it does not create temporary for array sections without vector subscripts, so there is no need to have custom logic. - update mangling to deal with AssocDetailsEntity. Their name is required in HLFIR so that it can be added to the hlfir.declare that is created for the selector once it is lowered. This should allow getting debug info for selector when debug info are generated from hlfir.declare. The rest of associate construct lowering is unchanged and shared with the current lowering. This patch also enables select type lowering to work properly, but some other todos (mainly about parent component references) prevents porting the tests for now, so this will be done later. Differential Revision: https://reviews.llvm.org/D144740
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions