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

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 18 09:54:06 PDT 2025


lukel97 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.

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


More information about the llvm-commits mailing list