llvm-project
90ce887b - [flang][hlfir] Extend InlineHLFIRCopy to inline copy_out with copy-back

Commit
54 days ago
[flang][hlfir] Extend InlineHLFIRCopy to inline copy_out with copy-back Rename `InlineHLFIRCopyIn` to `InlineHLFIRCopy` and extend it to inline the paired `hlfir.copy_out` operation. The copy_out is inlined at its original location, after the call, ensuring proper ordering of copy-back and deallocation. Only inlines when no copy-back is required (intent(in)); intent(inout/out) pairs are left untransformed. Based on https://github.com/llvm/llvm-project/pull/179096. Co-Authored-By: Kazuaki Matsumura <kmatsumura@nvidia.com> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
Committer
Parents
Loading