[llvm] [VPlan] Add support for in-loop AnyOf reductions (PR #131830)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 18 09:59:51 PDT 2025


alexey-bataev wrote:

> > The in-loop reductions may be completely not profitable
> 
> Yes, this is only profitable for EVL tail folding due to the vp.merge. The plan is to eventually use the TargetTransformInfo::preferInLoopReduction hook to only enable this for AnyOf reductions with EVL tail folding.

I mean, the in-loop reduction may be (significantly!!!)less profitable than vp.merge. 

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


More information about the llvm-commits mailing list