nir: Move constant folding of vote to opt_constant_folding
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 29 Oct 2020 15:08:15 +0000 (10:08 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 3 Nov 2020 22:51:26 +0000 (16:51 -0600)
commite59d6350d1f67a0bc43912296a12a3ae80cd96f3
treefa7011462487c9203eab05711621456ad814ddba
parent9492ab286402700175331feb4511e72c9f2c9b20
nir: Move constant folding of vote to opt_constant_folding

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7366>
src/compiler/nir/nir_opt_constant_folding.c
src/compiler/nir/nir_opt_intrinsics.c