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:
Samuel Pitoiset 2026-06-11 09:02:46 +02:00 committed by Marge Bot
parent 4fe2ddf5e2
commit b811e7adda

View file

@ -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");
}
}