[flang-commits] [flang] [flang][OpenMP] Fix alias analysis for omp.private copy region block arguments to help inline hlfir.assign to improve time taken in LTO. (PR #209539)

Pranav Bhandarkar via flang-commits flang-commits at lists.llvm.org
Thu Jul 16 22:01:38 PDT 2026


bhandarkar-pranav wrote:

> Thanks for the patch. I think the overall idea is good but some care needs to be taken.
> 
> A POINTER variable in FIRSTPRIVATE will receive the original pointer's association status. So in that case the data pointed to through the argument will alias - only the descriptor would be private.

Thank you for point this out. I have added handling of this case. Could you please take a look?

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


More information about the flang-commits mailing list