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

via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 24 15:51:10 PST 2025


================
@@ -656,6 +659,8 @@ Value *VPInstruction::generate(VPTransformState &State) {
     applyMetadata(*Br);
     return Br;
   }
+  case VPInstruction::BranchOnTwoConds:
+    llvm_unreachable("BranchOnTwoConds should be expanded before execution");
----------------
ayalz wrote:

nit: perhaps better to group all abstract cases together.

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


More information about the llvm-commits mailing list