nir: Use nir_src_rewrite_ssa
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 6 Apr 2023 21:13:45 +0000 (17:13 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Apr 2023 23:48:03 +0000 (23:48 +0000)
commite25c182993c61671bc993cb74ef662b0441790a8
tree1d2903bd5ba3f85282e53844238908c2d39bb968
parente9e0956d6232ffdf502bf829642fcd0a5fcbcea2
nir: Use nir_src_rewrite_ssa

Where sensible.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22343>
src/compiler/nir/nir.c
src/compiler/nir/nir_opt_copy_propagate.c