pan/bi: Don't open code bi_foreach_dest

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/8723>
This commit is contained in:
Alyssa Rosenzweig 2021-01-05 10:29:01 -05:00 committed by Marge Bot
parent 083a658ee8
commit 07b13647cb
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ bi_compute_interference(bi_context *ctx, struct lcra_state *l)
/* Mark all registers live after the instruction as
* interfering with the destination */
for (unsigned d = 0; d < ARRAY_SIZE(ins->dest); ++d) {
bi_foreach_dest(ins, d) {
if (bi_get_node(ins->dest[d]) >= node_count)
continue;