aco/ra: remove live-in temporary from live_out_per_block when moving it
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 14 Apr 2021 13:48:33 +0000 (14:48 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Apr 2021 19:04:08 +0000 (19:04 +0000)
commit5b8a4516e6bd384ef20624624d0139931dc23037
tree4122ccb46971a89c2e55bc8e8004ead1d86de0c3
parent11fde1247c291f836b28ad57984104a038e5cc51
aco/ra: remove live-in temporary from live_out_per_block when moving it

Otherwise, handle_loop_phis() might pass it to handle_live_in() and then
we could have two phis for this variable.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Fixes: 7c64623e948 ("aco/ra: refactor SSA repairing during register allocation")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10236>
src/amd/compiler/aco_register_allocation.cpp