[flang-commits] [flang] [flang][OpenMP] Privatize vars referenced in statement functions (PR #103390)
Leandro Lupori via flang-commits
flang-commits at lists.llvm.org
Wed Aug 21 05:51:24 PDT 2024
luporl wrote:
Thanks for the reviews @tblah and @mjklemm.
As `OmpAttributeVisitor::Post(const parser::Name &name)` was becoming quite complex, I have refactored it in the last commit. The main changes were:
- Move IsPrivatizable to a separate function.
- Move the code that handles symbols with implicitly determined DSAs to a separate function, `CreateImplicitSymbols`, undoing most changes from the first commit in this part.
This allowed the logic that handles statement function symbols to be simplified. Now we just need to collect non-dummy argument symbols from statement functions and call `CreateImplicitSymbols` for each of them.
https://github.com/llvm/llvm-project/pull/103390
More information about the flang-commits
mailing list