Module: Mesa Branch: main Commit: 1032d5c8361597e8858834eedae9d2125b46f26f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1032d5c8361597e8858834eedae9d2125b46f26f
Author: M Henning <[email protected]> Date: Fri May 12 21:40:18 2023 -0400 nv50/ir: Drop nir_jump_return handling This is always lowered before this point. Reviewed-by: Karol Herbst <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23006> --- src/nouveau/codegen/nv50_ir_from_nir.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/nouveau/codegen/nv50_ir_from_nir.cpp b/src/nouveau/codegen/nv50_ir_from_nir.cpp index e8772aeb77b..be3adda8519 100644 --- a/src/nouveau/codegen/nv50_ir_from_nir.cpp +++ b/src/nouveau/codegen/nv50_ir_from_nir.cpp @@ -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;
