https://github.com/fhahn approved this pull request. LGTM, thanks! Would be good to update the description to clarify that this is for non-in-loop reductions and non any-of? https://github.com/llvm/llvm-project/pull/107790