[flang-commits] [flang] [flang][OpenMP] Clone reduction info from nested `loop` ops to parent `teams` ops (PR #132003)
Kareem Ergawy via flang-commits
flang-commits at lists.llvm.org
Thu Mar 20 01:49:54 PDT 2025
ergawy wrote:
> I wonder, though, if this should be done when the MLIR code is first generated and not later during an MLIR pass.
If we do that earlier, I think this will be confusing since it will be a direct violation of what the standard stipulates in the part quoted in the commit message. On the other hand, doing this in the pass keeps the weirdness (special handling) of `loop` directives self-contained in one place, I think it will be easier to connect the dots this way.
https://github.com/llvm/llvm-project/pull/132003
More information about the flang-commits
mailing list