nir/cf: Make a helper function for removing a predecessor.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 3 Sep 2015 07:31:19 +0000 (00:31 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 23 Sep 2015 17:59:59 +0000 (10:59 -0700)
commite2637db618b868682e1c996b3c6394c2e82963f1
tree530072f26a083526c3a09f67120e577388d64ea9
parent6a67ede6b33cfb3bc35d09dcd25a731cba3b7780
nir/cf: Make a helper function for removing a predecessor.

I need to do this in a second place, and I'd rather make a helper
function than cut and paste the code.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/nir_control_flow.c