We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60afce2 commit ba7e273Copy full SHA for ba7e273
llvm/lib/Transforms/Vectorize/VPlan.h
@@ -1111,14 +1111,7 @@ class VPWidenRecipe : public VPRecipeWithIRFlags {
1111
return R;
1112
}
1113
1114
- static inline bool classof(const VPRecipeBase *R) {
1115
- return R->getVPDefID() == VPRecipeBase::VPWidenSC;
1116
- }
1117
-
1118
- static inline bool classof(const VPUser *U) {
1119
- auto *R = dyn_cast<VPRecipeBase>(U);
1120
- return R && classof(R);
1121
+ VP_CLASSOF_IMPL(VPDef::VPWidenSC)
1122
1123
/// Produce a widened instruction using the opcode and operands of the recipe,
1124
/// processing State.VF elements.
0 commit comments