ir3: Add pass to remove unreachable blocks
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 21 Jul 2021 13:03:21 +0000 (15:03 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 20 Aug 2021 10:37:36 +0000 (10:37 +0000)
commit2768a35e416ed8914989474d320de3227a5ecd84
tree2dabc7afcf3a071c5b418e88c61172916587c6b0
parentb74c7aae793863162dc43b0548a9219d9d6a4ecc
ir3: Add pass to remove unreachable blocks

Rather than continue to add special cases for these, just clean them up.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12033>
src/freedreno/ir3/ir3.c
src/freedreno/ir3/ir3.h
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_remove_unreachable.c [new file with mode: 0644]
src/freedreno/ir3/meson.build