nir_to_tgsi: Run copy prop (and thus dce) after lower_bool_to_float.
authorEmma Anholt <emma@anholt.net>
Tue, 6 Jul 2021 19:24:51 +0000 (12:24 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 7 Jul 2021 23:39:33 +0000 (23:39 +0000)
commitb4ad947135ce32264d8a58244547176cfb468ce4
tree1532b4b00ef696bc0a604f2cbda74d638b02e4f3
parent2008ec8a432c79f99e2199888e4844e884ddf02e
nir_to_tgsi: Run copy prop (and thus dce) after lower_bool_to_float.

Fixes some i915g instruction count failures by eliminating some MOVs from
translating b2f32s.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11744>
src/gallium/auxiliary/nir/nir_to_tgsi.c
src/gallium/drivers/i915/ci/deqp-i915-g33-fails.txt
src/gallium/drivers/i915/ci/piglit-i915-g33-fails.txt