[llvm] [VPlan] Implement cloning of VPlans. (PR #73158)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 08:07:01 PST 2023


================
@@ -729,6 +731,9 @@ class VPRecipeBase : public ilist_node_with_parent<VPRecipeBase, VPBasicBlock>,
       : VPDef(SC), VPUser(Operands, VPUser::VPUserID::Recipe), DL(DL) {}
   virtual ~VPRecipeBase() = default;
 
+  /// Clone the current recipe.
+  virtual VPRecipeBase *clone() { return nullptr; }
----------------
fhahn wrote:

Done, thanks!

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


More information about the llvm-commits mailing list