[flang-commits] [flang] [flang][OpenMP][RFC] Add support for COPYPRIVATE (PR #73128)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Wed Nov 22 06:51:19 PST 2023


luporl wrote:

Some refactoring was needed in `Bridge.cpp`, especially in `createHostAssociateVarClone()`
and `copyHostAssociateVar()`. It was needed to be able to clone and copy variables that may
not be host associated. But I guess the refactoring was not done in the best way, so any
suggestion of how to improve it is welcome.

Also, this implementation considers only single operations inside (or not) a parallel region.
If there are other OpenMP directives that provide parallelism without using parallel, where
single can be used, these will need to be handled later.

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


More information about the flang-commits mailing list