[all-commits] [llvm/llvm-project] a39898: [flang] Add fir.declare operation
jeanPerier via All-commits
all-commits at lists.llvm.org
Wed Oct 19 02:08:15 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a398981fb0f01473dbf9833677fe858630c38282
https://github.com/llvm/llvm-project/commit/a398981fb0f01473dbf9833677fe858630c38282
Author: Jean Perier <jperier at nvidia.com>
Date: 2022-10-19 (Wed, 19 Oct 2022)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Dialect/FortranVariableInterface.td
M flang/lib/Optimizer/Dialect/FortranVariableInterface.cpp
A flang/test/Fir/declare.fir
M flang/test/Fir/invalid.fir
M flang/unittests/Optimizer/CMakeLists.txt
A flang/unittests/Optimizer/FortranVariableTest.cpp
Log Message:
-----------
[flang] Add fir.declare operation
Add fir.declare operation whose purpose was described in https://reviews.llvm.org/D134285.
It uses the FortranVariableInterfaceOp for most of its logic (including the verifier).
The rational is that all these aspects/logic will be shared by hlfir.designate and
hlfir.associate.
Its codegen and lowering will be added in later patches.
Differential Revision: https://reviews.llvm.org/D136181
More information about the All-commits
mailing list