pan/bi: Add and use bi_num_successors helper
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 28 Jul 2022 15:07:46 +0000 (11:07 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:24 +0000 (16:03 +0000)
commit3bf3c45ae8b7de7ec6c99664b5561a38614ce5aa
tree7be019d46b600176b05c77d480424eeb6f68e04c
parent875a34160acfbd4d3a7ce3e250da83719af4e2af
pan/bi: Add and use bi_num_successors helper

Makes a few patterns easier to read.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
src/panfrost/bifrost/bir.c
src/panfrost/bifrost/compiler.h
src/panfrost/bifrost/valhall/va_merge_flow.c