diff options
-rw-r--r-- | src/compiler/nir/nir_opt_if.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_opt_if.c b/src/compiler/nir/nir_opt_if.c index 49ba5de09e9..b3d0bf1decb 100644 --- a/src/compiler/nir/nir_opt_if.c +++ b/src/compiler/nir/nir_opt_if.c @@ -44,6 +44,8 @@ find_continue_block(nir_loop *loop) if (pred_entry->key != prev_block) return (nir_block*)pred_entry->key; } + + unreachable("Continue block not found!"); } /** |