nir/opt_sink: use common instruction removal/insertion helpers
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 2 Dec 2020 16:03:32 +0000 (16:03 +0000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 3 Dec 2020 11:00:16 +0000 (11:00 +0000)
commit870724d43ba0f2784bb9bb575cb114ca43f00b25
tree63e69a56379175781e966a4b7aecd5f19920a4d8
parent45e43445ce724c4d7f15457ac30fc23fd531bc80
nir/opt_sink: use common instruction removal/insertion helpers

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7880>
src/compiler/nir/nir_opt_sink.c