nir/algebraic: Do not generate 8- or 16-bit find_msb
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 24 Oct 2022 20:26:31 +0000 (13:26 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 10 Mar 2023 15:27:17 +0000 (15:27 +0000)
commit2d6f48f6efd0cf9b9900d030aa1b571a2e22a4e1
tree7565f5a068673314846549bf5977a9842c68f945
parent2119ab7319c64d2b9fb6d72dabf8f1b0e44a8ea7
nir/algebraic: Do not generate 8- or 16-bit find_msb

The next commit will add validation to restrict this instruction (and
others) to only 32-bit or 64-bit sources.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19042>
src/compiler/nir/nir_opt_algebraic.py