[all-commits] [llvm/llvm-project] 6eb8ee: [flang] Add hlfir.associate and hlfir.end_associat...
jeanPerier via All-commits
all-commits at lists.llvm.org
Wed Nov 30 04:44:31 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6eb8ee9835fde757625681bf5d9ef7209dc74ea7
https://github.com/llvm/llvm-project/commit/6eb8ee9835fde757625681bf5d9ef7209dc74ea7
Author: Jean Perier <jperier at nvidia.com>
Date: 2022-11-30 (Wed, 30 Nov 2022)
Changed paths:
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
A flang/test/HLFIR/associate.fir
Log Message:
-----------
[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
More information about the All-commits
mailing list