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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 22 03:55:19 PDT 2025


================
@@ -2692,9 +2718,10 @@ struct VPWidenLoadRecipe final : public VPWidenMemoryRecipe, public VPValue {
   }
 
   VPWidenLoadRecipe *clone() override {
-    return new VPWidenLoadRecipe(cast<LoadInst>(Ingredient), getAddr(),
-                                 getMask(), Consecutive, Reverse,
-                                 getDebugLoc());
+    auto *Copy =
+        new VPWidenLoadRecipe(cast<LoadInst>(Ingredient), getAddr(), getMask(),
+                              Consecutive, Reverse, getDebugLoc());
+    return Copy;
----------------
fhahn wrote:

done, thanks

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


More information about the llvm-commits mailing list