[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
================
@@ -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;
----------------
ayalz wrote:
Retain existing inlined version?
https://github.com/llvm/llvm-project/pull/135272
More information about the llvm-commits
mailing list