[llvm] [VPlan] Use VPIRMetadata for VPInterleaveRecipe. (PR #153084)

via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 16 11:34:51 PDT 2025


================
@@ -2461,7 +2469,7 @@ class LLVM_ABI_FOR_TEST VPInterleaveRecipe : public VPRecipeBase {
 
   VPInterleaveRecipe *clone() override {
     return new VPInterleaveRecipe(IG, getAddr(), getStoredValues(), getMask(),
-                                  NeedsMaskForGaps, getDebugLoc());
+                                  NeedsMaskForGaps, *this, getDebugLoc());
----------------
ayalz wrote:

If we're passing `this` (even if to pass its inherited metadata), suffice to pass only it, as in copy constructor?

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


More information about the llvm-commits mailing list