microsoft/compiler: Don't lower bit sizes for movs
authorJesse Natalie <jenatali@microsoft.com>
Mon, 22 May 2023 22:11:55 +0000 (15:11 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 13 Jun 2023 00:43:36 +0000 (00:43 +0000)
commit38617dc72692f514a331bce303623965a9ac816d
tree68f6fb5ed1cf42bba3a608bae96b500388c91189
parentecfbc16f612a3d85b1fd52b504dd9bb1ab07c624
microsoft/compiler: Don't lower bit sizes for movs

Otherwise we run into problems by putting this optimization loop
before I/O lowering, where there might still be 8-bit values that
haven't been lowered to 16 or 32. Once that's done, any remaining
movs or vec ops will have higher bit sizes already.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23173>
src/microsoft/compiler/nir_to_dxil.c