[llvm] [LV] Bundle partial reductions inside VPExpressionRecipe (PR #147302)
Sam Tebbs via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 7 05:56:58 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) {
----------------
SamTebbs33 wrote:
I think it was to-do with a crash but the tests pass after removing this change, so I've removed it and can re-add it later on if need be.
https://github.com/llvm/llvm-project/pull/147302
More information about the llvm-commits
mailing list