pan/bi: Fix elimination of repeated branches
How many times can I break such a small pass?
Fixes: a805d999c0
("pan/bi: Fix jumps to terminal block again")
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9137>
This commit is contained in:
parent
a496b41d50
commit
04be7934df
|
@ -2887,7 +2887,7 @@ bi_lower_branch(bi_block *block)
|
|||
if (branched) {
|
||||
assert(was_jump && (ins->op == BI_OPCODE_JUMP));
|
||||
bi_remove_instruction(ins);
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
branched = true;
|
||||
|
|
Loading…
Reference in New Issue