[clang] [libc] [llvm] [lldb] [clang-tools-extra] [lld] [flang] [compiler-rt] [libcxx] [VPlan] Implement cloning of VPlans. (PR #73158)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 25 06:42:49 PST 2024


================
@@ -2694,6 +2852,9 @@ class VPlan {
   /// been modeled in VPlan directly.
   DenseMap<const SCEV *, VPValue *> SCEVToExpansion;
 
+  /// Construct an uninitialized VPlan, should be used for cloning only.
+  explicit VPlan() = default;
+
----------------
ayalz wrote:

Is it really needed? (See above)

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


More information about the cfe-commits mailing list