Re: [Mesa-dev] [PATCH 0/9] NIR dead control-flow removal

2015-05-09 Thread Jason Ekstrand
On Fri, May 8, 2015 at 11:15 PM, Jason Ekstrand wrote: > On Fri, May 8, 2015 at 10:03 PM, Connor Abbott wrote: >> This series implements a bunch of related optimizations that run at >> once as part of the same pass to eliminate control flow that is >> useless. This includes both unreachable code

Re: [Mesa-dev] [PATCH 0/9] NIR dead control-flow removal

2015-05-08 Thread Jason Ekstrand
On Fri, May 8, 2015 at 10:03 PM, Connor Abbott wrote: > This series implements a bunch of related optimizations that run at > once as part of the same pass to eliminate control flow that is > useless. This includes both unreachable code and useless loops, i.e. > loops that don't compute a result u

[Mesa-dev] [PATCH 0/9] NIR dead control-flow removal

2015-05-08 Thread Connor Abbott
This series implements a bunch of related optimizations that run at once as part of the same pass to eliminate control flow that is useless. This includes both unreachable code and useless loops, i.e. loops that don't compute a result used by the rest of the code. To do this, I needed to change som