[flang-commits] [flang] [flang][MLIR][OpenMP] Extend delayed privatization for allocatables (PR #84033)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Tue Mar 5 22:30:46 PST 2024


ergawy wrote:

Thanks a lot for the quick response and guidance @kiranchandramohan. Also, typical newbie misdirection on my side 😄.

Just for the sake of discussion, I implemented a (very) dirty hack to use only the first component for privatization logic (allocation, copying, and deallocation) without delayed privatization on the picture to simplify the discussion. This is implemented in https://github.com/llvm/llvm-project/pull/84123.

If using the first component is always and does not break any semantics I am not aware of, then I can productize: https://github.com/llvm/llvm-project/pull/84123 (i.e. find a less hacky solution) and then move to supporting delayed privatization for allocatables in a later PR.

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


More information about the flang-commits mailing list