diff options
author | Jean Perier <jperier@nvidia.com> | 2022-11-30 13:41:44 +0100 |
---|---|---|
committer | Jean Perier <jperier@nvidia.com> | 2022-11-30 13:43:56 +0100 |
commit | 6eb8ee9835fde757625681bf5d9ef7209dc74ea7 (patch) | |
tree | 74fa7b0c861df4e42f45e84e9ed2513b20f0d7b4 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | b0468e3e228852d2b97de757e4513155726336da (diff) | |
download | llvm-6eb8ee9835fde757625681bf5d9ef7209dc74ea7.zip llvm-6eb8ee9835fde757625681bf5d9ef7209dc74ea7.tar.gz llvm-6eb8ee9835fde757625681bf5d9ef7209dc74ea7.tar.bz2 |
[flang] Add hlfir.associate and hlfir.end_associate definitions
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.
Differential Revision: https://reviews.llvm.org/D138996
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions