On Fri, Mar 20, 2015 at 1:58 PM, Ian Romanick <i...@freedesktop.org> wrote: > From: Ian Romanick <ian.d.roman...@intel.com> > > If the both result operands of the ir_triop_csel are constants and the > other operand of the binary operation is constant, distributing the > unary operation allows constant folding to eliminate it. > > Shader-db results: > > GM45 (0x2A42): > total instructions in shared programs: 3545351 -> 3545378 (0.00%) > instructions in affected programs: 28774 -> 28801 (0.09%) > helped: 59 > HURT: 65
Odd. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev