[llvm] [VPlan] Dispatch to multiple exit blocks via middle blocks. (PR #112138)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 9 02:32:00 PST 2024
================
@@ -9996,12 +10031,14 @@ bool LoopVectorizePass::processLoop(Loop *L) {
}
if (LVL.hasUncountableEarlyExit()) {
- reportVectorizationFailure("Auto-vectorization of loops with uncountable "
- "early exit is not yet supported",
- "Auto-vectorization of loops with uncountable "
- "early exit is not yet supported",
- "UncountableEarlyExitLoopsUnsupported", ORE, L);
- return false;
+ if (!EnableEarlyExitVectorization) {
----------------
ayalz wrote:
```suggestion
if (LVL.hasUncountableEarlyExit() && !EnableEarlyExitVectorization) {
```
https://github.com/llvm/llvm-project/pull/112138
More information about the llvm-commits
mailing list