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

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 13:34:37 PST 2023


================
@@ -2536,6 +2695,9 @@ class VPlan {
   /// been modeled in VPlan directly.
   DenseMap<const SCEV *, VPValue *> SCEVToExpansion;
 
+  /// Construct an uninitialized VPlan, should be used for cloning only.
+  VPlan() {}
----------------
alexey-bataev wrote:

```suggestion
  explicit VPlan() = default;
```

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


More information about the llvm-commits mailing list