[llvm] [LV] Bundle sub reductions into VPExpressionRecipe (PR #147255)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 26 06:50:22 PDT 2025


================
@@ -2797,6 +2797,10 @@ class VPExpressionRecipe : public VPSingleDefRecipe {
     /// vector operands, performing a reduction.add on the result, and adding
     /// the scalar result to a chain.
     MulAccReduction,
+    /// Represent an inloop multiply-accumulate reduction, multiplying the
+    /// extended vector operands, negating the multiplication, performing a
+    /// reduction.add on the result, and adding the scalar result to a chain.
+    ExtNegatedMulAccReduction,
----------------
sdesmalen-arm wrote:

Should there also be `NegatedMulAccReduction` ?

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


More information about the llvm-commits mailing list