[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:31 PDT 2024


================
@@ -2858,6 +2871,9 @@ class VPWidenCanonicalIVRecipe : public VPSingleDefRecipe {
   /// step = <VF*UF, VF*UF, ..., VF*UF>.
   void execute(VPTransformState &State) override;
 
+  /// Return the part associated with this widened IV.
+  unsigned getPartForRecipe() const;
----------------
ayalz wrote:

```suggestion
  /// Return the unroll part associated with this widened IV.
  unsigned getUnrollPartForRecipe() const;
```

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


More information about the llvm-commits mailing list