[all-commits] [llvm/llvm-project] 32b423: [flang][hlfir] Extend InlineHLFIRCopy to inline co...
Kareem Ergawy via All-commits
all-commits at lists.llvm.org
Mon Jun 8 22:47:41 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 32b423ec57d76315cd42b99c0cdd9c63623d8b7b
https://github.com/llvm/llvm-project/commit/32b423ec57d76315cd42b99c0cdd9c63623d8b7b
Author: Kareem Ergawy <kergawy at nvidia.com>
Date: 2026-06-09 (Tue, 09 Jun 2026)
Changed paths:
M flang/include/flang/Optimizer/HLFIR/Passes.td
M flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
A flang/lib/Optimizer/HLFIR/Transforms/InlineHLFIRCopy.cpp
R flang/lib/Optimizer/HLFIR/Transforms/InlineHLFIRCopyIn.cpp
M flang/lib/Optimizer/Passes/Pipelines.cpp
R flang/test/HLFIR/inline-hlfir-copy-in.fir
A flang/test/HLFIR/inline-hlfir-copy.fir
Log Message:
-----------
[flang][hlfir] Extend InlineHLFIRCopy to inline copy_out with copy-back (#202290)
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 at nvidia.com> (Original
author of the changes).
Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>
Co-authored-by: Kazuaki Matsumura <kmatsumura at nvidia.com>
Co-authored-by: Claude Sonnet 4.6 <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list