[flang-commits] [flang] [mlir] [WIP] Delayed privatization. (PR #79862)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Wed Jan 31 04:42:17 PST 2024


kiranchandramohan wrote:

> @clementval @kiranchandramohan thanks a lot for taking a look. I think this WIP is getting closer and closer to having a complete end-to-end implementation. If I not missing anything, what remains is to actually inline the the privatizer in the op before converting to LLVM IR which I am looking into now.
> 
> Of course, I still need to support more complex symbols (e.g. allocatables) but I am focusing on simple variables for now to get something working end-to-end.

Thanks for the work here. Forgot to mention that the OpenMPIRBuilder has a privatization call back that is designed to implement privatization. You can consider using that.
(https://github.com/llvm/llvm-project/blob/648eb7c1415afb818b45782e1f2758a1f7677496/llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp#L1544)

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


More information about the flang-commits mailing list