Re: [Mesa-dev] [PATCH 3/3] i965: Add a pass to remove dead control flow.

2013-11-16 Thread Kenneth Graunke
On 11/16/2013 03:23 PM, Matt Turner wrote: > Removes IF/ENDIF and IF/ELSE/ENDIF with no intervening instructions. > > total instructions in shared programs: 1360393 -> 1360387 (-0.00%) > instructions in affected programs: 157 -> 151 (-3.82%) > > (no change in vertex shaders) > > Reviewed-by:

[Mesa-dev] [PATCH 3/3] i965: Add a pass to remove dead control flow.

2013-11-16 Thread Matt Turner
Removes IF/ENDIF and IF/ELSE/ENDIF with no intervening instructions. total instructions in shared programs: 1360393 -> 1360387 (-0.00%) instructions in affected programs: 157 -> 151 (-3.82%) (no change in vertex shaders) Reviewed-by: Paul Berry Reviewed-by: Eric Anholt --- src/mesa/driver