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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 22 03:55:19 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);
----------------
fhahn wrote:

Not sure, it is an implementation detail on LV and we would have to pass around the pointer in multiple places.

(It's gone for now in the latest version)

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


More information about the llvm-commits mailing list