diff options
| author | jeanPerier <jperier@nvidia.com> | 2024-02-07 09:19:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-07 09:19:08 +0100 |
| commit | 67402fe5e4bf7a706d47bc106113f599a8d59947 (patch) | |
| tree | 3e78cb77dda843ce703bfd11aa22eef9ed4f374c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | fff86c6111b6d3ed68a8ea57ab5e7d3d716472c6 (diff) | |
[flang] Do not move finalized function results in lowering (#80683)
Fortran requires finalizing function results when the result type have
final procedures.
Lowering was unconditionally "moving" function results into values
"hlfir.expr". This is not correct when the results are finalized because
it means the function result storage will be used after the hlfir.expr.
Only move function results that are not finalized.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
