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

via llvm-commits llvm-commits at lists.llvm.org
Fri May 2 13:09:52 PDT 2025


================
@@ -9013,6 +8997,20 @@ bool VPRecipeBuilder::getScaledReductions(
   return false;
 }
 
+SmallVector<std::pair<unsigned, MDNode *>>
+VPRecipeBuilder::getMetadataToPropagate(Instruction *I) const {
----------------
ayalz wrote:

This wraps both `getMetadataToPropagate()` and `getNoAliasMetadataFor()`. Rather than overriding the former, how about calling it
```suggestion
VPRecipeBuilder::getRecipeMetadata(Instruction *I) const {
```
?

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


More information about the llvm-commits mailing list