[llvm] [VPlan] Delay adding canonical IV increment. (PR #82270)

via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 07:18:21 PST 2024


================
@@ -124,6 +124,11 @@ struct VPlanTransforms {
   /// Remove dead recipes from \p Plan.
   static void removeDeadRecipes(VPlan &Plan);
 
+  /// Finalize \p Plan by introducing explicit increments for the canonical
+  /// induction.
+  static void lowerCanonicalIV(VPlan &Plan, bool HasNUW,
----------------
ayalz wrote:

Instead of `lower` can use `convert` to be consistent with `convertToConcreteRecipes()`, but for now this is more of a complementing/completing process rather than a lowering/conversion one?

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


More information about the llvm-commits mailing list