pan/bi: Add dead code elimination pass
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 11 Mar 2020 19:10:32 +0000 (15:10 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 11 Mar 2020 20:28:21 +0000 (20:28 +0000)
commit58f91718944a0cabdd907ed87efe7a239e69a55d
tree28c853ed418b222815aadd02c10eb57cfebaee70
parent56e1c606f89134e7033e25ca65a23478e13365b8
pan/bi: Add dead code elimination pass

Now that we have liveness analysis, we can cleanup the IR considerably.

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