Re: [Mesa-dev] [PATCH 03/10] nir: add helpers to check if we can unroll loops

2016-09-16 Thread Timothy Arceri
On Fri, 2016-09-16 at 16:52 +0200, Erik Faye-Lund wrote: > On Thu, Sep 15, 2016 at 9:03 AM, Timothy Arceri > wrote: > > > > This will be used by the loop unroll and lcssa passes. > > > > V2: > > - Check instruction count is not too large for unrolling > > - Add helper for complex loop unrolling

Re: [Mesa-dev] [PATCH 03/10] nir: add helpers to check if we can unroll loops

2016-09-16 Thread Erik Faye-Lund
On Thu, Sep 15, 2016 at 9:03 AM, Timothy Arceri wrote: > This will be used by the loop unroll and lcssa passes. > > V2: > - Check instruction count is not too large for unrolling > - Add helper for complex loop unrolling > --- > src/compiler/nir/nir.h | 31 +++ > 1 fil

[Mesa-dev] [PATCH 03/10] nir: add helpers to check if we can unroll loops

2016-09-15 Thread Timothy Arceri
This will be used by the loop unroll and lcssa passes. V2: - Check instruction count is not too large for unrolling - Add helper for complex loop unrolling --- src/compiler/nir/nir.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/src/compiler/nir/nir.h b/src/