nir/lower_shader_calls: Remove phis after dead control flow
authorFriedrich Vock <friedrich.vock@gmx.de>
Thu, 8 Dec 2022 20:37:06 +0000 (21:37 +0100)
committerMarge Bot <emma+marge@anholt.net>
Sun, 11 Dec 2022 22:13:32 +0000 (22:13 +0000)
commite20564cfdb946a3e7ccd8dec36520f3dff3d32e5
tree74aac6ce29e73de2327c673be5218d590ed7c127
parenta54c2c828941ef1325fc1a3b49eba32f3c964f0d
nir/lower_shader_calls: Remove phis after dead control flow

This potentially gets rid of some more phis without sources.

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19960>
src/compiler/nir/nir_lower_shader_calls.c