[flang-commits] [flang] [flang][OpenMP] fix lastprivate for allocatables (PR #99686)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Sat Jul 20 06:57:34 PDT 2024


kiranchandramohan wrote:

> Non-OpenMP reviewers: should this actually be done inside of copyHostAssociateVar?

It need not be. copyHostAssociateVar has a few customers and only OpenMP uses it for lastprivatisation. Previously the symbol table was not available in OpenMP.cpp. So this could only be done in the bridge. With changes to support recursive lowering, OpenMP.cpp has the Symbol table available.

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


More information about the flang-commits mailing list