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

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Tue May 7 07:04:43 PDT 2024


================
@@ -344,7 +353,6 @@ void DataSharingProcessor::collectSymbols(
     assert(curScope && "couldn't find current scope");
     if (isPrivatizable(*sym) && !symbolsInNestedRegions.contains(sym) &&
         !privatizedSymbols.contains(sym) &&
-        !sym->test(Fortran::semantics::Symbol::Flag::OmpPreDetermined) &&
----------------
ergawy wrote:

> more accurate and to simplify defaultPrivatize and implicitPrivatize.

Can you elaborate on what you mean by simplify?

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


More information about the flang-commits mailing list