[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:54 PDT 2025


================
@@ -2493,19 +2499,20 @@ class VPReplicateRecipe : public VPRecipeWithIRFlags {
 public:
   template <typename IterT>
   VPReplicateRecipe(Instruction *I, iterator_range<IterT> Operands,
-                    bool IsUniform, VPValue *Mask = nullptr)
+                    bool IsUniform, VPValue *Mask = nullptr,
+                    ArrayRef<std::pair<unsigned, MDNode *>> Metadata = {})
----------------
ayalz wrote:

Note: if a default/empty Metadata is passed, should getMetadataToPropagate(I) be used?

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


More information about the llvm-commits mailing list