[llvm] [NFC][LV] Introduce enums for uncountable exit detail and style (PR #184808)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 11 03:26:18 PDT 2026
================
@@ -8179,7 +8194,22 @@ VPlanPtr LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(
return !CM.requiresScalarEpilogue(VF.isVector());
},
Range);
- VPlanTransforms::handleEarlyExits(*Plan, Legal->hasUncountableEarlyExit());
+
+ UncountableEarlyExitDetail EEDetail = Legal->getUncountableEarlyExitDetail();
+#ifndef NDEBUG
+ // If we're vectorizing a loop with an uncountable exit, make sure that the
----------------
fhahn wrote:
this should probably go into `handleEarlyExits`
https://github.com/llvm/llvm-project/pull/184808
More information about the llvm-commits
mailing list