[VPlan] Make VPRecipeBase inherit from VPUser directly (NFC).
authorFlorian Hahn <flo@fhahn.com>
Mon, 9 Nov 2020 15:23:04 +0000 (15:23 +0000)
committerFlorian Hahn <flo@fhahn.com>
Fri, 12 Feb 2021 13:06:58 +0000 (13:06 +0000)
commit85fe5c93456776f313e25efaf49d3ae9e8703c86
tree0a2349d9792ac0b3637db599f37d1c845a31e683
parentfdb640ea30d416368b76b68b106deda580c6aced
[VPlan] Make VPRecipeBase inherit from VPUser directly (NFC).

The individual recipes have been updated to manage their operands using
VPUser a while back. Now that the transition is done, we can instead
make VPRecipeBase a VPUser and get rid of the toVPUser helper.
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/unittests/Transforms/Vectorize/VPlanTest.cpp