[llvm] [VPlan] Use VPIRMetadata for VPInterleaveRecipe. (PR #153084)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 21 11:51:56 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:
Ok, then perhaps a trivial `getMetadata()` would help this look better than passing `this` to essentially a copy constructor along with a bunch of other redundant parameters.
https://github.com/llvm/llvm-project/pull/153084
More information about the llvm-commits
mailing list