nir/opt_if: Clean up single-src phis in opt_if_loop_terminator
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 10 Jul 2019 20:14:42 +0000 (15:14 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Mon, 15 Jul 2019 19:58:51 +0000 (19:58 +0000)
commit7a19e05e8c84152af3a15868f5ef781142ac8e23
tree6e977c722160041254906cbea83c68c72dacd02a
parented98f8a63a578a425a1af641baa54ea4ad855775
nir/opt_if: Clean up single-src phis in opt_if_loop_terminator

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111071
Fixes: 2a74296f24ba "nir: add opt_if_loop_terminator()"
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_if.c
src/compiler/nir/nir_opt_remove_phis.c