[flang-commits] [flang] [mlir] [Flang][OpenMP] Support conditional lastprivate on host (PR #200086)

Sunil Shrestha via flang-commits flang-commits at lists.llvm.org
Wed Aug 5 01:59:11 PDT 2026


sshrestha-aa wrote:

> Changes to MLIR-to-LLVMIR translation should have minimal lit coverage alongside the other tests for that translation unit.

I've added semantic checks and TODOs for all the combinations I'm aware of. I didn't add any MLIR-to-LLVMIR translation tests because this implementation lowers conditional lastprivate to a user-defined reduction and makes no changes to OpenMPToLLVMIRTranslation.cpp. I've now removed the no-op line that had been left there inadvertently, so that file is unchanged relative to main. If there are still cases I've missed, please let me know. Thanks

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


More information about the flang-commits mailing list