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

via flang-commits flang-commits at lists.llvm.org
Mon Jul 22 07:31:35 PDT 2024


https://github.com/jeanPerier approved this pull request.

Thanks Tom. Moving this into the copyHostAssociateVar/copyVarHLFIR would make sense to me.

I updated the allocatable handling part that was broken a while ago with the assumption that reallocation was not a thing inside the OpenMP region (https://github.com/llvm/llvm-project/pull/69441). If it is, then what you are doing is the right approach..

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


More information about the flang-commits mailing list