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:
Alyssa Rosenzweig 2021-02-18 13:54:30 -05:00 committed by Marge Bot
parent a496b41d50
commit 04be7934df
1 changed files with 1 additions and 1 deletions

View File

@ -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;