[llvm] [VPlan] Split out EVL exit cond transform from canonicalizeEVLLoops. NFC (PR #178181)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 29 09:22:48 PST 2026


================
@@ -315,12 +315,14 @@ struct VPlanTransforms {
   /// variable vector lengths instead of fixed lengths. This transformation:
   ///  * Makes EVL-Phi concrete.
   //   * Removes CanonicalIV and increment.
-  ///  * Replaces the exit condition from
-  ///      (branch-on-count CanonicalIVInc, VectorTripCount)
-  ///    to
-  ///      (branch-on-cond eq AVLNext, 0)
   static void canonicalizeEVLLoops(VPlan &Plan);
 
+  /// Replaces the exit condition from
+  ///   (branch-on-count CanonicalIVInc, VectorTripCount)
+  /// to
+  ///   (branch-on-cond eq AVLNext, 0)
+  static void convertEVLExitCond(VPlan &Plan);
----------------
lukel97 wrote:

Fixed, thanks

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


More information about the llvm-commits mailing list