[llvm] [VPlan] Manage instruction medata in VPlan. (PR #135272)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 21 11:05:27 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:
We will need a custom version that also adds no-alias metadata from LoopVersioning (in https://github.com/llvm/llvm-project/pull/136450), which is why i kept it here
https://github.com/llvm/llvm-project/pull/135272
More information about the llvm-commits
mailing list