[flang-commits] [flang] [flang][OpenMP] Try to unify induction var privatization for sequential loops inside parallel regions. (PR #91116)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Wed May 8 05:35:54 PDT 2024


================
@@ -57,7 +57,7 @@ void DataSharingProcessor::processStep2(mlir::Operation *op, bool isLoop) {
 }
 
 void DataSharingProcessor::insertDeallocs() {
-  for (const Fortran::semantics::Symbol *sym : privatizedSymbols)
+  for (const Fortran::semantics::Symbol *sym : allPrivatizedSymbols)
----------------
luporl wrote:

Hmm, were we missing deallocations for default and implicit symbols?

https://github.com/llvm/llvm-project/pull/91116


More information about the flang-commits mailing list