i965/fs: Call opt_peephole_sel later in the optimization loop.
authorMatt Turner <mattst88@gmail.com>
Mon, 16 Dec 2013 04:07:05 +0000 (20:07 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 21 Jan 2014 22:09:33 +0000 (14:09 -0800)
commit0ea600ef1ada70bc2280909d86abe29dfd3e8f73
treed5e50165ef34bb86ccea962cae170c5528434a92
parentede6c341f686def647bf8ee4912e759b3d9933a6
i965/fs: Call opt_peephole_sel later in the optimization loop.

Calling it after value numbering (added in the next commit) prevents
some instruction count regressions.

total instructions in shared programs: 1524387 -> 1523905 (-0.03%)
instructions in affected programs:     13112 -> 12630 (-3.68%)
GAINED:                                0
LOST:                                  3

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp