[llvm] [VPlan] Explicitly replicate VPInstructions by VF. (PR #155102)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 12 01:16:09 PDT 2025


================
@@ -463,15 +463,16 @@ void VPlanTransforms::unrollByUF(VPlan &Plan, unsigned UF) {
   VPlanTransforms::removeDeadRecipes(Plan);
 }
 
-/// Create a single-scalar clone of \p RepR for lane \p Lane. Use \p
-/// Def2LaneDefs to look up scalar definitions for operands of \RepR.
-static VPReplicateRecipe *
+/// Create a single-scalar clone of \p DefR (must either be a VPReplicateRecipe
----------------
ayalz wrote:

```suggestion
/// Create a single-scalar clone of \p DefR (must be a VPReplicateRecipe
```
(or swap `either be` with `be either`)

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


More information about the llvm-commits mailing list