nir: move ends_in_break() helper to nir_loop_analyze.h
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 1 Jun 2018 05:37:27 +0000 (15:37 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 7 Jun 2018 01:33:04 +0000 (11:33 +1000)
commit1098bc5e854a1253e050fa30d16eda6ca676d4b3
tree199e0c8de2e0e279584f7d44626c68615a61bd8f
parent186988e28f9fe31ad4d08626586d5167051a14e7
nir: move ends_in_break() helper to nir_loop_analyze.h

We will use the helper while simplifying potential loop terminators
in the following patch.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/nir/nir_loop_analyze.c
src/compiler/nir/nir_loop_analyze.h