[Mlir-commits] [flang] [mlir] [RFC][Draft][flang][FIR] Model implict box allocations in side effects (PR #178412)

Slava Zakharin llvmlistbot at llvm.org
Wed Jan 28 09:30:57 PST 2026


vzakhari wrote:

Hi Tom, thank you for working on this!

I am not 100% comfortable with modifying FIR dialect operations just yet.  Can the problem be solved for OpenMP specifically by making sure that `!fir.box` SSA values are made firstprivate for `task`, etc.?  I suppose you can think about `!fir.box` as an aggregate of scalar values (and one pointer), so if it is natural to treat regular scalar values as firstprivate, then it should be the same for `!fir.box`.

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


More information about the Mlir-commits mailing list