pan/bi: Inline `bytemask of read components`
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 18 Feb 2021 21:26:02 +0000 (16:26 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Feb 2021 19:17:50 +0000 (19:17 +0000)
commit11fbe5aeb5916b705ad4cdc31545d870106d3f6e
tree6cb950eda43f3c0fc889d0a4027a18a92de7f00d
parent9882a59a2f2cc36d900d332337a307ba627020c4
pan/bi: Inline `bytemask of read components`

Only used in one place (and should never be used elsewhere -- even this
use is questionable). By inlining we avoid O(N^2) behaviour on the
number of sources in liveness updates.

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/9164>
src/panfrost/bifrost/bi_liveness.c
src/panfrost/bifrost/bir.c
src/panfrost/bifrost/compiler.h