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

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Thu Mar 7 05:20:38 PST 2024


ergawy wrote:

> Anyway, what I wrote above turns out to be incorrect since https://github.com/llvm/llvm-project/commit/de2be3e469f6174871d522ab6950d41282c58c7b that I missed and renders the usages of #1 in lowering "useless" when it is a box. I will need to analyze this commit.

A follow-up question, based on you analysis of de2be3e469f6174871d522ab6950d41282c58c7b, if it turns out the commit is actually not problematic, does it mean we can change `hlfir.declare` to always return a single SSA value (`#0` currently)? Or are there any other use cases where the second SSA value is needed?

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


More information about the flang-commits mailing list