[llvm] [LV] Optimize VPWidenIntOrFpInductionRecipe for known TC (PR #118828)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 02:43:11 PST 2024


================
@@ -2150,6 +2150,9 @@ class VPWidenIntOrFpInductionRecipe : public VPHeaderPHIRecipe {
   VPValue *getStepValue() { return getOperand(1); }
   const VPValue *getStepValue() const { return getOperand(1); }
 
+  /// Update the start value of the recipe.
----------------
david-arm wrote:

Should the comment be `/// Update the step value of the recipe`?

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


More information about the llvm-commits mailing list