aco: stop get_reg_simple after reaching max_used_gpr
authorDaniel Schürmann <daniel@schuermann.dev>
Tue, 14 Apr 2020 11:15:56 +0000 (12:15 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Apr 2020 18:23:23 +0000 (18:23 +0000)
commit5a3c1f4f0bfbcc9ea1900891435c28df73b5afa8
treec69037b77a8a5be8c525b1431fff6fdbc2b8af69
parent2796cb4c2481c35b9510c03dad3a5ebe65a82d51
aco: stop get_reg_simple after reaching max_used_gpr

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