[llvm] [VPlan] Implement interleaving as VPlan-to-VPlan transform. (PR #95842)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 3 15:24:30 PDT 2024


================
@@ -2970,6 +2986,9 @@ class VPScalarIVStepsRecipe : public VPRecipeWithIRFlags {
            "Op must be an operand of the recipe");
     return true;
   }
+
+  /// Return the part associated with this scalar step
+  unsigned getPartForRecipe() const;
----------------
ayalz wrote:

```suggestion
  /// Return the unroll part associated with this scalar step
  unsigned getUnrollPartForRecipe() const;
```

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


More information about the llvm-commits mailing list