[llvm] [VPlan] Populate and use VPIRMetadata from VPInstructions (NFC) (PR #167253)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 16 19:36:34 PST 2025


================
@@ -7616,14 +7616,13 @@ VPWidenMemoryRecipe *VPRecipeBuilder::tryToWidenMemory(VPInstruction *VPI,
   }
   if (VPI->getOpcode() == Instruction::Load) {
     auto *Load = cast<LoadInst>(I);
-    return new VPWidenLoadRecipe(*Load, Ptr, Mask, Consecutive, Reverse,
-                                 VPIRMetadata(*Load, LVer), I->getDebugLoc());
----------------
lukel97 wrote:

Have we removed all the uses of the `VPIRMetadata(Instruction, LoopVersioning)` constructor now? Can we delete it?

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


More information about the llvm-commits mailing list