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

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Tue Nov 28 11:19:25 PST 2023


luporl wrote:

> There already a runtime Assign function but I think this operates on descriptors (
> 
> https://github.com/llvm/llvm-project/blob/fea023b129190edeb503dbe947034f925bbda666/flang/runtime/assign.cpp#L253
> ). So I guess the disadvantage here might be that we will always need descriptors.
> 
Ok, then I guess it's better to worry about generating multiple copy functions later, if this really becomes an issue.
I'm thinking about trying to implement option 2 and see if everything works properly. What do you think?

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


More information about the flang-commits mailing list