aco/ra: Use PhysReg for member functions of PhysRegInterval
authorTony Wasserka <tony.wasserka@gmx.de>
Thu, 29 Oct 2020 17:08:13 +0000 (18:08 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 Jan 2021 18:21:06 +0000 (18:21 +0000)
commitc3660f4781943632180f866742daf5e756fd07d0
tree024233e47eb7d0a9682d08c998abb5f5eab30d0d
parentd2d0096c0cf7a4fa71dfd619dbb70bd596f1dfa4
aco/ra: Use PhysReg for member functions of PhysRegInterval

This replaces the various PhysReg{lb} casts that had been all over the place.

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7799>
src/amd/compiler/aco_register_allocation.cpp