diff options
author | jeanPerier <jperier@nvidia.com> | 2024-09-25 16:45:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-25 16:45:47 +0200 |
commit | 3be8e3ad0c424dbeb9e4c8401174335e106a2d5d (patch) | |
tree | f8a276484aa2d321d60e34c2bd4a4cd3353ad434 /clang/unittests/Frontend/CompilerInstanceTest.cpp | |
parent | 6fae8b8a4266461e81da12d2a7889ff35aac6526 (diff) | |
download | llvm-3be8e3ad0c424dbeb9e4c8401174335e106a2d5d.zip llvm-3be8e3ad0c424dbeb9e4c8401174335e106a2d5d.tar.gz llvm-3be8e3ad0c424dbeb9e4c8401174335e106a2d5d.tar.bz2 |
[flang] translate pure and elemental attribute in FIR (#109954)
Follow-up from a previous patch that turned bind_c into an enum for
procedure attribute.
This patch carries the elemental and pure Fortran attribute into FIR so
that the optimizer can leverage that info in the future (I think debug
info may also need to know these aspects since DWARF has DW_AT_elemental
and DW_AT_pure nodes).
SIMPLE from F2023 will be translated once it is handled in the
front-end.
NON_RECURSIVE is only meaningful on func.func since we are not
guaranteed to know that aspect on the caller side (it is not part of
Fortran characteristics). There is a DW_AT_recursive DWARF node. I will
do it while dealing with func.func attributes.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInstanceTest.cpp')
0 files changed, 0 insertions, 0 deletions