Re: [Mesa-dev] Value Range Propagation in NIR (GSoC)

2015-04-11 Thread Connor Abbott
On Sat, Apr 11, 2015 at 3:12 PM, Thomas Helland wrote: >> Yes, copy propagation probably won't be so useful once we have value >> range propagation; the former is a special case of the latter. Note >> that we have a nifty way of actually doing the constant folding >> (nir_constant_expressions.py a

Re: [Mesa-dev] Value Range Propagation in NIR (GSoC)

2015-04-11 Thread Thomas Helland
2015-04-08 18:03 GMT+02:00 Jason Ekstrand : > On Tue, Apr 7, 2015 at 4:52 PM, Connor Abbott wrote: >> Hi Thomas, >> >> Thanks for submitting a proposal! Some comments/answers below. >> >> On Tue, Apr 7, 2015 at 3:34 PM, Thomas Helland >> wrote: >>> Hi, >>> >>> For those that don't know I've submi

[Mesa-dev] Value Range Propagation in NIR (GSoC)

2015-04-11 Thread Thomas Helland
Thanks for the lengthy response :) 8. apr. 2015 01.52 skrev "Connor Abbott" : > > Hi Thomas, > > Thanks for submitting a proposal! Some comments/answers below. > > On Tue, Apr 7, 2015 at 3:34 PM, Thomas Helland > wrote: > > Hi, > > > > For those that don't know I've submitted a proposal for this

Re: [Mesa-dev] Value Range Propagation in NIR (GSoC)

2015-04-08 Thread Jason Ekstrand
On Tue, Apr 7, 2015 at 4:52 PM, Connor Abbott wrote: > Hi Thomas, > > Thanks for submitting a proposal! Some comments/answers below. > > On Tue, Apr 7, 2015 at 3:34 PM, Thomas Helland > wrote: >> Hi, >> >> For those that don't know I've submitted a proposal for this years GSoC. >> I've proposed t

Re: [Mesa-dev] Value Range Propagation in NIR (GSoC)

2015-04-07 Thread Connor Abbott
> Yes, copy propagation probably won't be so useful once we have value > range propagation; the former is a special case of the latter. Err, I meant constant propagation... ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop

Re: [Mesa-dev] Value Range Propagation in NIR (GSoC)

2015-04-07 Thread Connor Abbott
Hi Thomas, Thanks for submitting a proposal! Some comments/answers below. On Tue, Apr 7, 2015 at 3:34 PM, Thomas Helland wrote: > Hi, > > For those that don't know I've submitted a proposal for this years GSoC. > I've proposed to implement value range propagation and loop unrolling in > NIR. > S

[Mesa-dev] Value Range Propagation in NIR (GSoC)

2015-04-07 Thread Thomas Helland
Hi, For those that don't know I've submitted a proposal for this years GSoC. I've proposed to implement value range propagation and loop unrolling in NIR. Since I'm no expert on compilers I've read up on some litterature: I started with "Constant propagation with conditional branches" (thanks Co