aco/ra: remove bounds parameter from get_regs_for_copies()
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 30 Jun 2022 12:44:28 +0000 (13:44 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 1 Sep 2022 11:22:46 +0000 (11:22 +0000)
commitec867ef0e78163d5301b459f45ed32a8e8ed9e35
tree368ef5166cf14d6c11ad7b2dfe15b724e4155bb8
parentefcbccaf0ee76ec8e0f23a3de651c56cd0b621a4
aco/ra: remove bounds parameter from get_regs_for_copies()

I don't think it makes sense for this to be anything but get_reg_bounds(),
and this change makes this function usuable with a mix of SGPRs and VGPRs.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17493>
src/amd/compiler/aco_register_allocation.cpp