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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 19 12:27:54 PDT 2025


================
@@ -69,20 +69,22 @@ bool VPlanTransforms::tryToConvertVPInstructionsToVPRecipes(
         NewRecipe = new VPWidenIntOrFpInductionRecipe(
             Phi, Start, Step, &Plan->getVF(), *II, Ingredient.getDebugLoc());
       } else {
+        SmallVector<std::pair<unsigned, MDNode *>> Metadata;
+        getMetadataToPropagate(Inst, Metadata);
----------------
fhahn wrote:

updated to use VPRecipeBuilder::getMetadataToPropagate, thanks

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


More information about the llvm-commits mailing list