[llvm] [VPlan] Add BranchOnTwoConds, use for early exit plans. (PR #172750)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 29 10:40:20 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]]:
----------------
fhahn wrote:
Yes, this will now be done by VPlan-based folding.
https://github.com/llvm/llvm-project/pull/172750
More information about the llvm-commits
mailing list