[all-commits] [llvm/llvm-project] c43313: [flang] Add an enum attribute to carry Fortran att...
jeanPerier via All-commits
all-commits at lists.llvm.org
Mon Oct 17 06:43:52 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c4331358fb9de83289b2638a77e8e08e41f56860
https://github.com/llvm/llvm-project/commit/c4331358fb9de83289b2638a77e8e08e41f56860
Author: Jean Perier <jperier at nvidia.com>
Date: 2022-10-17 (Mon, 17 Oct 2022)
Changed paths:
M flang/include/flang/Optimizer/Dialect/CMakeLists.txt
M flang/include/flang/Optimizer/Dialect/FIRAttr.h
A flang/include/flang/Optimizer/Dialect/FIRAttr.td
M flang/lib/Optimizer/Dialect/FIRAttr.cpp
M flang/test/Fir/fir-ops.fir
M flang/test/Fir/invalid.fir
Log Message:
-----------
[flang] Add an enum attribute to carry Fortran attributes
Currently, Fortran attributes are mostly represented via the presence of
named attribute with special names (fir.target, fir.contiguous,
fir.optional...).
Create an enum so that these attributes can be more easily and safely
manipulated in FIR.
This patch does not add usages for it yet. It is planned to use in it in
the future HLFIR and fir.declare operations. This is added to FIR and
not HLFIR because it is intended to be used on fir.declare that will
be part of FIR, and seems also usefull for FIR operations.
Differential Revision: https://reviews.llvm.org/D135961
More information about the All-commits
mailing list