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

Sam Tebbs via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 8 07:27:42 PDT 2025


================
@@ -2725,6 +2729,31 @@ void VPExpressionRecipe::print(raw_ostream &O, const Twine &Indent,
     O << ")";
     break;
   }
+  case ExpressionTypes::ExtNegatedMulAccReduction: {
----------------
SamTebbs33 wrote:

That was my initial approach but it required checking the number of operands to know if there was a sub or not, and I was asked to create an expression type to not rely on operand ordering being stable.

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


More information about the llvm-branch-commits mailing list