[flang-commits] [PATCH] D136181: [flang] Add fir.declare operation
Jean Perier via Phabricator via flang-commits
flang-commits at lists.llvm.org
Tue Oct 18 09:12:03 PDT 2022
jeanPerier created this revision.
jeanPerier added reviewers: clementval, PeteSteinfeld.
jeanPerier added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
jeanPerier requested review of this revision.
Herald added a reviewer: nicolasvasilache.
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.
Depends on D136151 <https://reviews.llvm.org/D136151>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D136181
Files:
flang/include/flang/Optimizer/Dialect/FIROps.h
flang/include/flang/Optimizer/Dialect/FIROps.td
flang/include/flang/Optimizer/Dialect/FortranVariableInterface.td
flang/lib/Optimizer/Dialect/FortranVariableInterface.cpp
flang/test/Fir/declare.fir
flang/test/Fir/invalid.fir
flang/unittests/Optimizer/CMakeLists.txt
flang/unittests/Optimizer/FortranVariableTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136181.468587.patch
Type: text/x-patch
Size: 29565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221018/b9778019/attachment-0001.bin>
More information about the flang-commits
mailing list