[llvm] [VPlan] Fold VPDef into VPRecipeBase (NFC). (PR #174282)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 14 14:31:02 PST 2026


================
@@ -395,12 +395,69 @@ class LLVM_ABI_FOR_TEST VPRecipeBase
   DebugLoc DL;
 
 public:
+  /// An enumeration for keeping track of the concrete subclass of VPRecipeBase
+  /// that is actually instantiated. Values of this enumeration are kept in the
+  /// SubclassID field of the VPRecipeBase objects. They are used for concrete
----------------
ayalz wrote:

So should SubclassID be a field of VPRecipeBase, rather than of VPDef?

https://github.com/llvm/llvm-project/pull/174282


More information about the llvm-commits mailing list