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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 7 00:41:37 PDT 2025


================
@@ -5526,7 +5526,7 @@ InstructionCost AArch64TTIImpl::getExtendedReductionCost(
   EVT ResVT = TLI->getValueType(DL, ResTy);
 
   if (Opcode == Instruction::Add && VecVT.isSimple() && ResVT.isSimple() &&
-      VecVT.getSizeInBits() >= 64) {
+      VecVT.isFixedLengthVector() && VecVT.getSizeInBits() >= 64) {
----------------
fhahn wrote:

is this related to the crash in the test? Could be split off?

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


More information about the llvm-commits mailing list