[llvm] [VPlan] Add ReductionStartVector VPInstruction. (PR #142290)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 5 14:07:16 PDT 2025
================
@@ -3855,17 +3875,19 @@ void VPFirstOrderRecurrencePHIRecipe::print(raw_ostream &O, const Twine &Indent,
#endif
void VPReductionPHIRecipe::execute(VPTransformState &State) {
- // If this phi is fed by a scaled reduction then it should output a
- // vector with fewer elements than the VF.
- ElementCount VF = State.VF.divideCoefficientBy(VFScaleFactor);
----------------
fhahn wrote:
Nope, both the start value and the backedge value now are narrowed already.
https://github.com/llvm/llvm-project/pull/142290
More information about the llvm-commits
mailing list