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

via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 20 11:48:45 PDT 2025


================
@@ -9082,6 +9089,13 @@ bool VPRecipeBuilder::getScaledReductions(
   return false;
 }
 
+SmallVector<std::pair<unsigned, MDNode *>>
+VPRecipeBuilder::getMetadataToPropagate(Instruction *I) {
+  SmallVector<std::pair<unsigned, MDNode *>> Metadata;
+  ::getMetadataToPropagate(I, Metadata);
----------------
ayalz wrote:

Ah, thanks.
Should these two getMetadataToPropagate() variants be located next to each other, presumably both in VectorUtils?

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


More information about the llvm-commits mailing list