[llvm] [LV] Bundle partial reductions inside VPExpressionRecipe (PR #147302)

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 20 09:01:36 PDT 2025


================
@@ -330,6 +331,8 @@ VPPartialReductionRecipe::computeCost(ElementCount VF,
   auto HandleWiden = [&](VPWidenRecipe *Widen) {
     if (match(Widen, m_Sub(m_ZeroInt(), m_VPValue(Op)))) {
       Widen = dyn_cast<VPWidenRecipe>(Op->getDefiningRecipe());
+      if (!Widen)
----------------
SamTebbs33 wrote:

Yeah these changes came from #163175 but they belong in #162503 more. Removed.

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


More information about the llvm-commits mailing list