[llvm-branch-commits] [llvm] [LV] Only create partial reductions when profitable. (PR #181706)
Sander de Smalen via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Mar 12 03:13:52 PDT 2026
================
@@ -6027,44 +6009,39 @@ static bool isValidPartialReduction(const VPPartialReductionChain &Chain,
static_cast<Instruction::CastOps>(Ext->getOpcode()));
return {ExtOpType, ExtKind};
};
- auto ExtInfoA = GetExtInfo(Chain.ExtendA);
- auto ExtInfoB = GetExtInfo(Chain.ExtendB);
- Type *ExtOpTypeA = ExtInfoA.first;
- Type *ExtOpTypeB = ExtInfoB.first;
- auto ExtKindA = ExtInfoA.second;
- auto ExtKindB = ExtInfoB.second;
+ auto [ExtOpTypeA, ExtKindA] = GetExtInfo(Chain.ExtendA);
----------------
sdesmalen-arm wrote:
Thanks, I've rebased!
https://github.com/llvm/llvm-project/pull/181706
More information about the llvm-branch-commits
mailing list