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

2013-11-04 Thread Eric Anholt
Matt Turner writes: > 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 [v1] > v2:

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

2013-10-31 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 [v1] v2: Moved before SEL peephole in series.