HomePhabricator

Recommit "[LV] Allow tryToCreateWidenRecipe to return a VPValue, use for blends.

Authored by fhahn on Feb 24 2021, 1:55 AM.

Description

Recommit "[LV] Allow tryToCreateWidenRecipe to return a VPValue, use for blends."

This reverts the revert commit 437f0bbcd509d0ed71b91ec1f86f48c2f4aae980.

It adds a new toVPRecipeResult, which forces VPRecipeOrVPValueTy to be
constructed with a VPRecipeBase *. This should address ambiguous
constructor issues for recipe sub-types that also inherit from VPValue.