[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:56 PST 2026


================
@@ -7430,6 +7430,8 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan(
   // Expand BranchOnTwoConds after dissolution, when latch has direct access to
   // its successors.
   VPlanTransforms::expandBranchOnTwoConds(BestVPlan);
+  // Switch the exit condition to AVLNext == 0 for EVL tail folded loops.
----------------
lukel97 wrote:

Fixed, thanks

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


More information about the llvm-commits mailing list