aco/ra: fix usage of invalidated iterator
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 11 May 2022 14:10:22 +0000 (15:10 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 30 May 2022 16:41:32 +0000 (16:41 +0000)
commitcd2b4c319aa49f9e995ae7825393a661e40b6e64
treeb2ce40aaaf5add9d56032652c9d5c9bd07a80e90
parent42a4a123a6f5436537e2689472db8c68da18c5d9
aco/ra: fix usage of invalidated iterator

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Fixes: 58bd9a379ef ("aco/ra: fix live-range splits of phi definitions")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16454>
src/amd/compiler/aco_register_allocation.cpp