[llvm-branch-commits] [llvm] [LoopVectorizer] Bundle partial reductions inside VPMulAccumulateReductionRecipe (PR #136173)

Sander de Smalen via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Apr 24 02:21:42 PDT 2025


================
@@ -4923,9 +4923,7 @@ InstructionCost AArch64TTIImpl::getPartialReductionCost(
         return Invalid;
       break;
     case 16:
-      if (AccumEVT == MVT::i64)
-        Cost *= 2;
-      else if (AccumEVT != MVT::i32)
+      if (AccumEVT != MVT::i32)
----------------
sdesmalen-arm wrote:

Why are you making this change?

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


More information about the llvm-branch-commits mailing list