[llvm] [VPlan] Endow DerivedIV with IRFlags (PR #205908)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 07:50:31 PDT 2026


================
@@ -402,14 +402,13 @@ class VPBuilder {
     return RuntimeEC;
   }
 
-  /// Convert the input value \p Current to the corresponding value of an
-  /// induction with \p Start and \p Step values, using \p Start + \p Current *
-  /// \p Step.
+  /// Convert \p Index to \p Start + \p Index * \p Step.
----------------
fhahn wrote:

may be good to keep the more generic, as index might imply induction, but I think it is also at least also used with trip counts

```suggestion
  /// Convert \p Current to \p Start + \p Index * \p Step.
```

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


More information about the llvm-commits mailing list