[llvm] [VPlan] Make canonical IV part of the region (PR #156262)

via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 22 08:54:26 PST 2026


================
@@ -2194,12 +2193,6 @@ class VPVectorPointerRecipe : public VPRecipeWithIRFlags {
 /// the backedge is the second operand.
 ///
 /// Inductions are modeled using the following sub-classes:
-///  * VPCanonicalIVPHIRecipe: Canonical scalar induction of the vector loop,
-///    starting at a specified value (zero for the main vector loop, the resume
-///    value for the epilogue vector loop) and stepping by 1. The induction
-///    controls exiting of the vector loop by comparing against the vector trip
-///    count. Produces a single scalar PHI for the induction value per
-///    iteration.
----------------
ayalz wrote:

Worth mentioning how the canonical IV is represented, even if not via a VPHeaderPHIRecipe, than ignoring it.

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


More information about the llvm-commits mailing list