[VPlan] Use VPDef for VPWidenGEPRecipe.
authorFlorian Hahn <flo@fhahn.com>
Tue, 15 Dec 2020 09:30:14 +0000 (09:30 +0000)
committerFlorian Hahn <flo@fhahn.com>
Tue, 15 Dec 2020 09:30:14 +0000 (09:30 +0000)
commit318f5798d8cb375e5af07812cede2f041ef839fe
treece802c47d8d2febff3a20b65fd6c8c4ff392f703
parentad1161f9b5ff251b80788033e4db82b5a11b187b
[VPlan] Use VPDef for VPWidenGEPRecipe.

This patch turns updates VPWidenGEPRecipe to manage the value it defines
using VPDef. The VPValue is used  during VPlan construction and
codegeneration instead of the plain IR reference where possible.

Reviewed By: gilr

Differential Revision: https://reviews.llvm.org/D90561
llvm/lib/Transforms/Vectorize/VPlan.h