[flang-commits] [PATCH] D138996: [flang] Add hlfir.associate and hlfir.end_associate definitions

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Nov 30 03:09:20 PST 2022


jeanPerier created this revision.
jeanPerier added reviewers: clementval, PeteSteinfeld.
jeanPerier added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert.
Herald added a project: All.
jeanPerier requested review of this revision.

These operations allow creating an HLFIR variable from a HLFIR value and
destroying it at the end of the variable lifetime.
This will both be used to implement procedure reference arguments association
when the actual is an expression, and to implement the Fortran associate
construct when the associated entity is an expression.

See https://github.com/llvm/llvm-project/blob/main/flang/docs/HighLevelFIR.md
for more details.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138996

Files:
  flang/include/flang/Optimizer/HLFIR/HLFIROps.td
  flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
  flang/test/HLFIR/associate.fir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138996.478874.patch
Type: text/x-patch
Size: 10332 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221130/2aec3261/attachment-0001.bin>


More information about the flang-commits mailing list