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

via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 26 15:06:59 PDT 2025


================
@@ -2459,7 +2465,7 @@ class VPReductionEVLRecipe : public VPReductionRecipe {
 /// copies of the original scalar type, one per lane, instead of producing a
 /// single copy of widened type for all lanes. If the instruction is known to be
 /// uniform only one copy, per lane zero, will be generated.
-class VPReplicateRecipe : public VPRecipeWithIRFlags {
+class VPReplicateRecipe : public VPRecipeWithIRFlags, public VPIRMetadata {
----------------
ayalz wrote:

Should replication of loads/stores have a separate recipe, if only they hold metadata? Would that separation be helpful in general.

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


More information about the llvm-commits mailing list