Replace VPPredInstPHI::classof implementation with general
VP_CLASSOF_IMPL.
VPValue(VPValue::VPVPredInstPHI, nullptr, this) {}
~VPPredInstPHIRecipe() override = default;
- /// Method to support type inquiry through isa, cast, and dyn_cast.
- static inline bool classof(const VPDef *D) {
- return D->getVPDefID() == VPRecipeBase::VPPredInstPHISC;
- }
+ VP_CLASSOF_IMPL(VPRecipeBase::VPPredInstPHISC, VPValue::VPVPredInstPHI)
/// Generates phi nodes for live-outs as needed to retain SSA form.
void execute(VPTransformState &State) override;