OSDN Git Service

[VPlan] Keep start value of VPWidenPHIRecipe as VPValue.
authorFlorian Hahn <flo@fhahn.com>
Sat, 9 Jan 2021 16:34:15 +0000 (16:34 +0000)
committerFlorian Hahn <flo@fhahn.com>
Sat, 9 Jan 2021 16:34:15 +0000 (16:34 +0000)
commit65f578fc0e6fb10bb84f3dea906f8fb1230c1ab3
tree74cbb37f65bd8ca27782b11ad2f4ff33d4046915
parent9f76788b0930ed48f5f20a25f1b30d63c8486531
[VPlan] Keep start value of VPWidenPHIRecipe as VPValue.

Similar to D92129, update VPWidenPHIRecipe  to manage the start value as
VPValue. This allows adjusting the start value as a VPlan transform,
which will be used in a follow-up patch to support reductions during
epilogue vectorization.

Reviewed By: gilr

Differential Revision: https://reviews.llvm.org/D93975
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.h