nir: Pull block_ends_in_jump into nir.h
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 24 Aug 2018 14:34:05 +0000 (09:34 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 27 Aug 2018 07:15:38 +0000 (02:15 -0500)
commit07a227f5438e63c5ebd1c49a272253a6784a69ae
tree8aa9bd207e495f0a9ad720a17b4b25bad2310a6a
parent59a8e0dbf855d390e96a88d859f0d120dfc34404
nir: Pull block_ends_in_jump into nir.h

We had two different implementations in different files.  May as well
have one and put it in nir.h.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_control_flow.c
src/compiler/nir/nir_opt_dead_cf.c