HomePhabricator

[VPlan] Move reduction start value creation to widenPHIRecipe.

Authored by fhahn on Fri, Jan 8, 9:40 AM.

Description

[VPlan] Move reduction start value creation to widenPHIRecipe.

This was suggested to prepare for D93975.

By moving the start value creation to widenPHInstruction, we set the
stage to manage the start value directly in VPWidenPHIRecipe, which be
used subsequently to set the 'resume' value for reductions during
epilogue vectorization.

It also moves RdxDesc to the recipe, so we do not have to rely on Legal
to look it up later.

Reviewed By: gilr

Differential Revision: https://reviews.llvm.org/D94175

Details

Committed
fhahnFri, Jan 8, 9:49 AM
Reviewer
gilr
Differential Revision
D94175: [VPlan] Move reduction start value creation to widenPHIRecipe.
Parents
rG9386483b7142: [X86] Add TLBSYNC, INVLPGB and SNP instructions
Branches
Unknown
Tags
Unknown