[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


================
@@ -24,11 +24,9 @@ define noundef i32 @f(i32 noundef %g) {
 ; VF4IC2-NEXT:    [[TMP18:%.*]] = freeze <4 x i1> [[TMP5]]
 ; VF4IC2-NEXT:    [[TMP6:%.*]] = or <4 x i1> [[TMP17]], [[TMP18]]
 ; VF4IC2-NEXT:    [[TMP7:%.*]] = call i1 @llvm.vector.reduce.or.v4i1(<4 x i1> [[TMP6]])
-; VF4IC2-NEXT:    br label %[[MIDDLE_SPLIT:.*]]
-; VF4IC2:       [[MIDDLE_SPLIT]]:
----------------
ayalz wrote:

Fusing a pair of single-succ/single-pred blocks together.

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


More information about the llvm-commits mailing list