[llvm-branch-commits] [flang] [mlir] [flang][OpenACC] generate Destroy region to free memory of private and firstprivate if needed (PR #162702)
Razvan Lupusoru via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 9 13:16:52 PDT 2025
================
@@ -53,12 +53,15 @@ struct OpenACCMappableModel
mlir::acc::VariableTypeCategory getTypeCategory(mlir::Type type,
mlir::Value var) const;
+ bool generatePrivateDestroy(mlir::Type type, mlir::OpBuilder &builder,
----------------
razvanlupusoru wrote:
nit: Please swap the declaration order with generatePrivateInit - looks "off" to me to have destroy first.
https://github.com/llvm/llvm-project/pull/162702
More information about the llvm-branch-commits
mailing list