nir/algebraic: add distributive rules for ior/iand
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 15 Jul 2020 17:23:54 +0000 (19:23 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 20 Jul 2020 15:56:46 +0000 (15:56 +0000)
commitbaee5a981229e6e5c270d112f3f4d24a1eb4d7f9
treeb7b4a1fc5ffff1d419eb43ba1f0ad389b82ff12d
parent70d3efeb88c847dbf37ab6bce057a4390e46e027
nir/algebraic: add distributive rules for ior/iand

Totals from 581 (0.43% of 134368) affected shaders (Polaris):
CodeSize: 1389560 -> 1386488 (-0.22%)
Instrs: 264488 -> 263984 (-0.19%)
Cycles: 1057952 -> 1055936 (-0.19%)
VMEM: 296016 -> 291613 (-1.49%)

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4830>
src/compiler/nir/nir_opt_algebraic.py