nv50/ir: Drop nir_jump_return handling

This is always lowered before this point.

Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23006>
This commit is contained in:
M Henning
2023-05-12 21:40:18 -04:00
committed by Marge Bot
parent 69101c72f3
commit 1032d5c836
-5
View File
@@ -2340,11 +2340,6 @@ bool
Converter::visit(nir_jump_instr *insn)
{
switch (insn->type) {
case nir_jump_return:
// TODO: this only works in the main function
mkFlow(OP_BRA, exit, CC_ALWAYS, NULL);
bb->cfg.attach(&exit->cfg, Graph::Edge::CROSS);
break;
case nir_jump_break:
case nir_jump_continue: {
bool isBreak = insn->type == nir_jump_break;