Re: [Mesa-dev] [PATCH] nir: Allow opt_peephole_sel to be more aggressive in flattening IFs.

2016-09-21 Thread Ian Romanick
Reviewed-by: Ian Romanick On 09/10/2016 12:43 AM, Eric Anholt wrote: > VC4 was running into a major performance regression from enabling control > flow in the glmark2 conditionals test, because of short if statements > containing an ffract. > > This pass seems like it was was trying to ensure th

[Mesa-dev] [PATCH] nir: Allow opt_peephole_sel to be more aggressive in flattening IFs.

2016-09-09 Thread Eric Anholt
VC4 was running into a major performance regression from enabling control flow in the glmark2 conditionals test, because of short if statements containing an ffract. This pass seems like it was was trying to ensure that we only flattened IFs that should be entirely a win by guaranteeing that there