nir/dead_cf: delete code that's unreachable due to jumps
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 8 May 2015 05:44:24 +0000 (01:44 -0400)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 1 Sep 2015 07:58:17 +0000 (00:58 -0700)
commitf649afc9ddabfc70a5f9861e6daa2cb996461f45
tree2e3b5b6ac2d400f55301ab0d6b8e45fe127d7e87
parent1e6ad4b0270fa524e7a6374e1b15540e02668019
nir/dead_cf: delete code that's unreachable due to jumps

v2: use nir_cf_node_remove_after().
v2: use foreach_list_typed() instead of hardcoding a list walk.
v3: update to new control flow modification helpers.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/nir/nir_opt_dead_cf.c