[all-commits] [llvm/llvm-project] 3be8e3: [flang] translate pure and elemental attribute in ...
jeanPerier via All-commits
all-commits at lists.llvm.org
Wed Sep 25 07:46:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3be8e3ad0c424dbeb9e4c8401174335e106a2d5d
https://github.com/llvm/llvm-project/commit/3be8e3ad0c424dbeb9e4c8401174335e106a2d5d
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-09-25 (Wed, 25 Sep 2024)
Changed paths:
M flang/include/flang/Lower/CallInterface.h
M flang/include/flang/Optimizer/Dialect/FIRAttr.td
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/test/Lower/HLFIR/array-ctor-as-elemental-nested.f90
M flang/test/Lower/HLFIR/array-ctor-as-elemental.f90
M flang/test/Lower/HLFIR/elemental-array-ops.f90
M flang/test/Lower/HLFIR/elemental-user-procedure-ref.f90
M flang/test/Lower/HLFIR/forall.f90
M flang/test/Lower/HLFIR/where-nonelemental.f90
M flang/test/Lower/array-elemental-calls-char.f90
M flang/test/Lower/array-user-def-assignments.f90
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list