[llvm] [VPlan] Replace EVL branch condition with (branch-on-count AVLNext, 0) (PR #152167)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 11 03:23:14 PDT 2025
================
@@ -2434,7 +2458,7 @@ void VPlanTransforms::canonicalizeEVLLoops(VPlan &Plan) {
// Replace the use of VectorTripCount in the latch-exiting block.
// Before: (branch-on-count EVLIVInc, VectorTripCount)
- // After: (branch-on-count EVLIVInc, TripCount)
+ // After: (branch-on-count AVLNext, 0)
----------------
fhahn wrote:
If we don't use the trip count/vector-trip-count, it would be cleaner to add an explicit compare + BranchOnCond
https://github.com/llvm/llvm-project/pull/152167
More information about the llvm-commits
mailing list