pan/bi: Don't write registers in optimizer tests
authorAlyssa Rosenzweig <alyssa@collabora.com>
Tue, 26 Jul 2022 17:22:17 +0000 (13:22 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:23 +0000 (16:03 +0000)
commit29f53ee8bbb4b27b13790f92a97b8d0ee7a04329
tree8b87801e9e898fb447cc9f23e04d76974342a7d8
parente68b7531ca98a49ffc39dd69d01df8e642a0278f
pan/bi: Don't write registers in optimizer tests

The new SSA-based dead code elimination won't know how to deal with code of that
funny form. In actuality it doesn't have to, so we just make sure the optimizer
tests produce valid IR so this works as expected.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
src/panfrost/bifrost/ISA.xml
src/panfrost/bifrost/test/test-optimizer.cpp