nir/lower_io: Emit less iadd(x, 0)
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Sun, 7 May 2023 09:53:21 +0000 (11:53 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 10 May 2023 16:21:34 +0000 (16:21 +0000)
commit0e679e80a96ce916b9c2e0da993878ce512c9621
tree4d97baaa8ae230a1cb4ca2c3b501e5c57fda90d9
parent0b259e72bdfcd40cc7947237ae7c90dd1c1b5933
nir/lower_io: Emit less iadd(x, 0)

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22890>
src/compiler/nir/nir_lower_io.c