[flang-commits] [flang] [mlir] [flang][OpenMP] Lower target in_reduction for host fallback (PR #199967)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Wed Jun 24 05:15:36 PDT 2026


================

----------------
skatrak wrote:

This should be refactored into `OpenMPIRBuilder::createInReduction` or similar, if this isn't too dissimilar from the handling of `in_reduction` in other constructs. If it's too much effort to get all those cases to share the same logic, as a first step it should at least be moved it to an `OpenMPIRBuilder::createTargetInReduction` function.

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


More information about the flang-commits mailing list