nir: add another comparison simplification
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 4 Jan 2017 05:21:34 +0000 (16:21 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Mon, 9 Jan 2017 01:32:16 +0000 (12:32 +1100)
commit1130f82a88ff4e7960e5a8d72db41e1b98431446
treec8e74072204d3ec31543e0425327ad083bcd6208
parent3371de38f282c77461bbe5007a2fec2a975776df
nir: add another comparison simplification

On BDW:

total instructions in shared programs: 13061877 -> 13060965 (-0.01%)
instructions in affected programs: 133569 -> 132657 (-0.68%)
helped: 566
HURT: 0

total cycles in shared programs: 256611784 -> 256599536 (-0.00%)
cycles in affected programs: 861016 -> 848768 (-1.42%)
helped: 379
HURT: 73

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_opt_algebraic.py