================
@@ -819,10 +812,77 @@ class VPRecipeBase : public 
ilist_node_with_parent<VPRecipeBase, VPBasicBlock>,
   }                                                                            
\
   static inline bool classof(const VPRecipeBase *R) {                          
\
     return R->getVPDefID() == VPDefID;                                         
\
+  }                                                                            
\
+  static inline bool classof(const VPSingleDefRecipe *R) {                     
\
+    return R->getVPDefID() == VPDefID;                                         
\
   }
 
+/// VPSingleDef is a base class for recipes for modeling a sequence of one or
+/// more output IR that define a single result VPValue.
----------------
ayalz wrote:

/// Note that VPRecipeBase must be inherited from before VPValue.

https://github.com/llvm/llvm-project/pull/77023
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to