pan/mdg: Enable nir_opt_algebraic_distribute_src_mods
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 30 Apr 2020 00:27:16 +0000 (20:27 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 1 May 2020 18:26:36 +0000 (18:26 +0000)
commit211dee42d000ef27e573263f4c5d7a65b03dc5bf
treecc3a88d389b02ea026453d8c8f347067ab1d44de
parent1c2d469506c29cb114568b5b74f9e9c3fa00706b
pan/mdg: Enable nir_opt_algebraic_distribute_src_mods

Helps cleanup some issues otherwise missed by the new source mod
handling. (Noticed a double negative)

total instructions in shared programs: 3606 -> 3605 (-0.03%)
instructions in affected programs: 41 -> 40 (-2.44%)
helped: 1
HURT: 0

total bundles in shared programs: 1883 -> 1883 (0.00%)
bundles in affected programs: 0 -> 0
helped: 0
HURT: 0

total quadwords in shared programs: 3296 -> 3324 (0.85%)
quadwords in affected programs: 596 -> 624 (4.70%)
helped: 0
HURT: 2

total registers in shared programs: 337 -> 336 (-0.30%)
registers in affected programs: 6 -> 5 (-16.67%)
helped: 1
HURT: 0

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4852>
src/panfrost/midgard/midgard_compile.c