[llvm] [VPlan] Manage noalias/alias_scope metadata in VPlan. (NFC) (PR #136450)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun May 4 13:49:11 PDT 2025


================
@@ -9010,6 +8994,20 @@ bool VPRecipeBuilder::getScaledReductions(
   return false;
 }
 
+VPIRMetadata VPRecipeBuilder::getRecipeMetadata(Instruction *I) const {
+  SmallVector<std::pair<unsigned, MDNode *>> Metadata;
+  ::getMetadataToPropagate(I, Metadata);
+  if (!LVer || !isa<LoadInst, StoreInst>(I))
+    return {};
----------------
fhahn wrote:

code now gone/moved, thanks

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


More information about the llvm-commits mailing list