aco: fix register allocation with multiple live-range splits
authorDaniel Schürmann <daniel@schuermann.dev>
Tue, 21 Jan 2020 11:11:12 +0000 (12:11 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jan 2020 18:45:23 +0000 (18:45 +0000)
commit99d032f3cd1a7ea359f03968a30a89a18830868c
tree4246714c39211f5b60924da827c944a1a840fa72
parent71440ba0f5512fe455be66ca48b253ecc37478a9
aco: fix register allocation with multiple live-range splits

This patch fixes register allocation if multiple live-range splits
occur to the same variable within one instruction.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3602>
src/amd/compiler/aco_register_allocation.cpp