[flang-commits] [flang] [flang][do concurrent] Re-model `reduce` to match reductions are modelled in OpenMP and OpenACC (PR #145837)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Thu Jun 26 07:58:36 PDT 2025
================
@@ -668,9 +668,7 @@ void privatizeSymbol(
const semantics::Symbol *sym =
isDoConcurrent ? &symToPrivatize->GetUltimate() : symToPrivatize;
- const lower::SymbolBox hsb = isDoConcurrent
- ? converter.shallowLookupSymbol(*sym)
- : converter.lookupOneLevelUpSymbol(*sym);
+ const lower::SymbolBox hsb = converter.lookupOneLevelUpSymbol(*sym);
----------------
tblah wrote:
What changed to allow this change? Was it adding the scope for the do concurrent?
https://github.com/llvm/llvm-project/pull/145837
More information about the flang-commits
mailing list