nir/algebraic: Covert up-cast of down-cast to extract on Intel
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 4 Feb 2021 19:27:08 +0000 (13:27 -0600)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Feb 2021 16:36:31 +0000 (16:36 +0000)
commit2491d5a662581518fc01943e5410bab3dc661707
tree691915f3c3a4df5f7d1304289894c96a367064e4
parentf9b3be09e15c35149ac5395b0419186580381019
nir/algebraic: Covert up-cast of down-cast to extract on Intel

This starts generating extract for bit sizes other than 32 but our
back-end handles that just fine.

Reviewed-by: Ian Romanick <ian.d.romanick@.intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8872>
src/compiler/nir/nir_opt_algebraic.py