nir: rework force_unroll_array_access()
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 15 Nov 2018 10:28:31 +0000 (21:28 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 12 Dec 2018 23:39:51 +0000 (10:39 +1100)
commit721566bddb2a148e042c4682c35a762fc4e0c3d0
tree1bd4202b200b0c65219455d8fb3aa47d3f952583
parent48135f175cedcc9bc01f8f96c6f3b7b41cd12679
nir: rework force_unroll_array_access()

Here we rework force_unroll_array_access() so that we can reuse
the induction variable detection in a following patch.

Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
src/compiler/nir/nir_loop_analyze.c