[all-commits] [llvm/llvm-project] 0832f1: [flang][OpenACC] generate Destroy region to free m...
jeanPerier via All-commits
all-commits at lists.llvm.org
Tue Oct 14 06:18:57 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0832f1afe99b7c87a7a92b5c0600380b6defeebe
https://github.com/llvm/llvm-project/commit/0832f1afe99b7c87a7a92b5c0600380b6defeebe
Author: jeanPerier <jperier at nvidia.com>
Date: 2025-10-14 (Tue, 14 Oct 2025)
Changed paths:
M flang/include/flang/Optimizer/OpenACC/Support/FIROpenACCTypeInterfaces.h
M flang/include/flang/Optimizer/Support/Utils.h
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Optimizer/OpenACC/Support/FIROpenACCTypeInterfaces.cpp
M flang/lib/Optimizer/Support/Utils.cpp
M flang/test/Lower/OpenACC/acc-firstprivate-derived-allocatable-component.f90
M flang/test/Lower/OpenACC/acc-private.f90
M mlir/include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.td
Log Message:
-----------
[flang][OpenACC] generate Destroy region to free memory of private and firstprivate if needed (#162702)
This patch extends the MappableTypeInterface to:
- allow genPrivateInit to indicate that a Destroy region will be needed.
- add genPrivateDestroy to generate the destruction code
- Implement both interfaces in FIR
- Update OpenACC lowering to generate the Destroy region when needed
using those interfaces.
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