On Tue, Aug 30, 2016 at 12:40 AM, Matt Turner wrote:
> On Mon, Aug 29, 2016 at 9:06 PM, Timothy Arceri
> wrote:
>> Can't the phi have more than one source from before the loop? e.g
>>
>>int i = 0;
>>if (somthing)
>> i = 1;
>>else
On Mon, Aug 29, 2016 at 9:06 PM, Timothy Arceri
wrote:
> Can't the phi have more than one source from before the loop? e.g
>
>int i = 0;
>if (somthing)
> i = 1;
>else
> i = 2;
>
>for ( ; i < 5; i++)
> do_stuff(i);
In fact, no. :)
On Tue, 2016-08-30 at 14:16 +1000, Timothy Arceri wrote:
> On Tue, 2016-08-30 at 14:06 +1000, Timothy Arceri wrote:
> >
> > On Mon, 2016-08-29 at 20:34 -0400, Connor Abbott wrote:
> > >
> > >
> > > On Mon, Aug 29, 2016 at 12:59 AM, Timothy Arceri
> > > wrote:
> >
On Tue, 2016-08-30 at 14:06 +1000, Timothy Arceri wrote:
> On Mon, 2016-08-29 at 20:34 -0400, Connor Abbott wrote:
> >
> > On Mon, Aug 29, 2016 at 12:59 AM, Timothy Arceri
> > wrote:
> > >
> > >
> > > ---
> > > src/compiler/Makefile.sources | 1 +
> > >
On Mon, 2016-08-29 at 20:34 -0400, Connor Abbott wrote:
> On Mon, Aug 29, 2016 at 12:59 AM, Timothy Arceri
> wrote:
> >
> > ---
> > src/compiler/Makefile.sources | 1 +
> > src/compiler/nir/nir.h | 2 +
> >
On Mon, Aug 29, 2016 at 12:59 AM, Timothy Arceri
wrote:
> ---
> src/compiler/Makefile.sources | 1 +
> src/compiler/nir/nir.h | 2 +
> src/compiler/nir/nir_opt_loop_unroll.c | 394
> +
> 3 files changed,
---
src/compiler/Makefile.sources | 1 +
src/compiler/nir/nir.h | 2 +
src/compiler/nir/nir_opt_loop_unroll.c | 394 +
3 files changed, 397 insertions(+)
create mode 100644 src/compiler/nir/nir_opt_loop_unroll.c
diff --git