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

Benjamin Maxwell via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Apr 24 02:31:37 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)
----------------
MacDue wrote:

It's due to: https://github.com/llvm/llvm-project/pull/136173#discussion_r2053920360

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


More information about the llvm-branch-commits mailing list