aco: Clean up usages of PhysReg::reg from aco_assembler.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 9 Oct 2019 08:40:24 +0000 (10:40 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Thu, 10 Oct 2019 07:57:53 +0000 (09:57 +0200)
commitaa75be05af5cd261c96eddb8a42efa85bbb1ba89
tree0a76affe86a14d1448b5fd62db35225dfd60de86
parentd729d8f1dcc26f39e4b57a093f80a75f8a6f02e7
aco: Clean up usages of PhysReg::reg from aco_assembler.

These are not needed anymore, since PhyReg has an implicit
conversion operator that can convert it to unsigned int,
which is equivalent to accessing this field.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_assembler.cpp