pan/va: Add pass to insert flow control
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 19 May 2022 20:57:31 +0000 (16:57 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 1 Jun 2022 16:14:38 +0000 (16:14 +0000)
commit7e3b9cf75403ff2cc11238e18db99aa8f0ae9baf
tree00bc7561d347cb966ee5b053077b829ae44b3b62
parent82b1897900857dd40e199073a35389fb6da7cc31
pan/va: Add pass to insert flow control

To set flow control modifiers correctly and efficiently, we need a pass that
runs after register allocation and scheduling, but before packing. Add such a
pass.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16804>
src/panfrost/bifrost/compiler.h
src/panfrost/bifrost/meson.build
src/panfrost/bifrost/valhall/va_compiler.h
src/panfrost/bifrost/valhall/va_insert_flow.c [new file with mode: 0644]