Kareem Ergawy 319705d0ab
[flang] do concurrent: fix reduction symbol resolution when mapping to OpenMP (#155355)
Fixes #155273

This PR introduces 2 changes:
1. The `do concurrent` to OpenMP pass is now a module pass rather than a
function pass.
2. Reduction ops are looked up in the parent module before being
created.

The benefit of using a module pass is that the same reduction operation
can be used across multiple functions if the reduction type matches.
2025-08-27 17:06:16 +02:00
..