Re: [Mesa-dev] [PATCH 07/20] nir: add guess trip count support to loop analysis

2018-12-07 Thread Timothy Arceri
On 8/12/18 11:16 am, Jason Ekstrand wrote: On Thu, Dec 6, 2018 at 9:08 PM Timothy Arceri > wrote: This detects an induction variable used as an array index to guess the trip count of the loop. This enables us to do a partial unroll of the loop, with can

Re: [Mesa-dev] [PATCH 07/20] nir: add guess trip count support to loop analysis

2018-12-07 Thread Jason Ekstrand
On Thu, Dec 6, 2018 at 9:08 PM Timothy Arceri wrote: > This detects an induction variable used as an array index to guess > the trip count of the loop. This enables us to do a partial > unroll of the loop, with can eventually result in the loop being > eliminated. > --- > src/compiler/nir/nir.h

[Mesa-dev] [PATCH 07/20] nir: add guess trip count support to loop analysis

2018-12-06 Thread Timothy Arceri
This detects an induction variable used as an array index to guess the trip count of the loop. This enables us to do a partial unroll of the loop, with can eventually result in the loop being eliminated. --- src/compiler/nir/nir.h | 4 ++ src/compiler/nir/nir_loop_analyze.c | 78