mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-21 05:58:22 +02:00
nir/print: add a missing UNREACHABLE for unknown jump instructions
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42162>
This commit is contained in:
parent
4fe2ddf5e2
commit
b811e7adda
1 changed files with 2 additions and 0 deletions
|
|
@ -2297,6 +2297,8 @@ print_jump_instr(nir_jump_instr *instr, print_state *state)
|
|||
fprintf(fp, " else b%u",
|
||||
instr->else_target ? instr->else_target->index : -1);
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE("Unknown jump instruction");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue