[llvm] [VPlan] Dispatch to multiple exit blocks via middle blocks. (PR #112138)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 10:22:58 PST 2024
================
@@ -124,6 +124,17 @@ struct VPlanTransforms {
/// Remove dead recipes from \p Plan.
static void removeDeadRecipes(VPlan &Plan);
+ /// Update \p Plan to account for the uncountable early exit block in \p
+ /// UncountableExitingBlock by
+ /// * updating the condition exiting the vector loop to include the early
+ /// exit conditions
+ /// * splitting the original middle block to branch to the early exit blocks
----------------
ayalz wrote:
```suggestion
/// * splitting the original middle block to branch to the early exit block
```
https://github.com/llvm/llvm-project/pull/112138
More information about the llvm-commits
mailing list