[llvm] [VPlan] Manage instruction medata in VPlan. (PR #135272)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 21 13:58:01 PDT 2025


================
@@ -2769,9 +2796,10 @@ struct VPWidenStoreRecipe final : public VPWidenMemoryRecipe {
   }
 
   VPWidenStoreRecipe *clone() override {
-    return new VPWidenStoreRecipe(cast<StoreInst>(Ingredient), getAddr(),
-                                  getStoredValue(), getMask(), Consecutive,
-                                  Reverse, getDebugLoc());
+    auto *Copy = new VPWidenStoreRecipe(cast<StoreInst>(Ingredient), getAddr(),
+                                        getStoredValue(), getMask(),
+                                        Consecutive, Reverse, getDebugLoc());
+    return Copy;
----------------
ayalz wrote:

ditto

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


More information about the llvm-commits mailing list