nir: always attempt to find loop terminators
authorTimothy Arceri <tarceri@itsqueeze.com>
Sat, 7 Jul 2018 02:02:08 +0000 (12:02 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 29 Aug 2018 06:02:05 +0000 (16:02 +1000)
commitfef6325e587173f2146a8aab75847144d2f802ff
tree2f86555431047c9a680945d573f76f1699009cb0
parent1e40f6948310be07abb2d0198e6602769892cdac
nir: always attempt to find loop terminators

This will help later patches with unrolling loops that end with a
break i.e. loops the always exit on their first interation.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_loop_analyze.c