[VPlan] Add & use VPValue operands for VPWidenRecipe (NFC).
authorFlorian Hahn <flo@fhahn.com>
Thu, 23 Apr 2020 10:55:00 +0000 (11:55 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 23 Apr 2020 11:16:46 +0000 (12:16 +0100)
commit9245c7ac13480ed48ae339ad0e68cbe680cd0642
treef78b26e5d63c59eb506e721c9694a0602c6153bc
parent0337017a9f001d8b3d5e8b0ed7192342bacaf443
[VPlan] Add & use VPValue operands for VPWidenRecipe (NFC).

This patch adds VPValue version of the instruction operands to
VPWidenRecipe and uses them during code-generation.

Similar to D76373 this reduces ingredient def-use usage by ILV as
a step towards full VPlan-based def-use relations.

Reviewers: rengolin, Ayal, gilr

Reviewed By: gilr

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