[llvm] [VPlan] Add BranchOnMultiCond, use for early exit plans. (PR #172750)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 29 02:36:43 PST 2025


================
@@ -2029,6 +2030,7 @@ static bool simplifyBranchConditionForVFAndUF(VPlan &Plan, ElementCount BestVF,
         return isa<VPCanonicalIVPHIRecipe, VPEVLBasedIVPHIRecipe,
                    VPFirstOrderRecurrencePHIRecipe, VPPhi>(&Phi);
       })) {
+    // TODO: fold branch-on-constant after dissolving region.
----------------
ayalz wrote:

Better placed next to TODO above?

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


More information about the llvm-commits mailing list