aco: improve register assignment when live-range splits are necessary
authorDaniel Schürmann <daniel@schuermann.dev>
Tue, 10 Mar 2020 10:50:41 +0000 (11:50 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 9 Apr 2020 15:08:57 +0000 (15:08 +0000)
commitba482c2e5fdb2a6d76133b17e2ba2283f1e7474c
tree1a310837a969daf7096a025ddfa41746a766823b
parentfb5a7902f20ad1285fa875c93bc719a1499d1cb4
aco: improve register assignment when live-range splits are necessary

When finding a good place for a register, we can ignore
killed operands.

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4130>
src/amd/compiler/aco_register_allocation.cpp