[llvm] [VPlan] Compute induction end values in VPlan. (PR #112145)

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 19 15:27:15 PST 2024


================
@@ -231,12 +231,15 @@ class VPBuilder {
         new VPInstruction(Ptr, Offset, GEPNoWrapFlags::inBounds(), DL, Name));
   }
 
+  /// Convert the input value \p Current to the corresponding value of an
+  /// induction with different start and step values, using Start + Current *
----------------
ayalz wrote:

```suggestion
  /// induction with \p Start and \p Step values, using Start + Current *
```

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


More information about the llvm-commits mailing list