nir/opt_algebraic: Reduce int64
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 1 Oct 2023 13:50:41 +0000 (09:50 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 12 Oct 2023 21:03:31 +0000 (21:03 +0000)
commit8df8d1e2f284a9b0953851344925dc3e593e994c
tree2084bd82af7f1062df01839ad0bf2005f7c97d60
parent8b5b362be6f145c59b477a4c3f323b3e686bd9f9
nir/opt_algebraic: Reduce int64

If we just want the bottom 32-bits we don't need a full 64-bit operation.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25625>
src/compiler/nir/nir_opt_algebraic.py