[llvm] [VPlan] Update final IV exit value via VPlan. (PR #112147)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 12:05:03 PST 2025


================
@@ -137,6 +137,10 @@ struct VPlanTransforms {
 
   /// Lower abstract recipes to concrete ones, that can be codegen'd.
   static void convertToConcreteRecipes(VPlan &Plan);
+
+  static void
----------------
ayalz wrote:

Something like
```suggestion
  /// If there's a single exit block, optimize its phi recipes that use exiting IV values by feeding them precomputed end values instead, possibly taken one step backwards.
  static void
```

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


More information about the llvm-commits mailing list