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

Sairudra More via flang-commits flang-commits at lists.llvm.org
Mon Jul 6 09:47:47 PDT 2026


Saieiei wrote:

Done. I moved the target `in_reduction` runtime-generation path into `OpenMPIRBuilder`, including the gtid setup, per-item lookup loop, runtime call, and address-space normalization.

I also moved the missing matching `map_entries` check into the `omp.target` verifier and updated translation to use the same matching predicate, so verifier and translation now agree on exact-value and same-defining-op cases. Duplicate matching map entries still produce a clean ambiguity diagnostic.


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


More information about the flang-commits mailing list