nir: Allow abs/neg in select peephole pass.
authorMatt Turner <mattst88@gmail.com>
Thu, 2 Apr 2015 17:21:16 +0000 (10:21 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Apr 2015 18:01:34 +0000 (11:01 -0700)
commit4dacb212fdcc82def02b8c9233f94caa5a8a3000
treef314ac71f6f3ecc0e6f5b7ba10616ce2bcb59ec9
parent472ef9a02f2e5c5d0caa2809cb736a0f4f0d4693
nir: Allow abs/neg in select peephole pass.

total instructions in shared programs: 4314531 -> 4308949 (-0.13%)
instructions in affected programs:     429085 -> 423503 (-1.30%)
helped:                                1680
HURT:                                  0
GAINED:                                0
LOST:                                  111

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/nir_opt_peephole_select.c