nir: add nir_after_phis() cursor helper
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 2 Sep 2016 23:06:52 +0000 (19:06 -0400)
committerConnor Abbott <cwabbott0@gmail.com>
Sat, 3 Sep 2016 04:37:48 +0000 (00:37 -0400)
commit0dc4cabee213135aa25bef9062366f251838dc16
treed2b7a55d0b85a4d330a531532d060ded48e3214a
parent64a69059ce2a506fd9d230a2494485cf8e13f163
nir: add nir_after_phis() cursor helper

And re-implement nir_after_cf_node_and_phis() using it.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir.h