aco: add notion of subdword registers to register allocator
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 2 Apr 2020 17:27:50 +0000 (18:27 +0100)
committerDaniel Schürmann <daniel@schuermann.dev>
Fri, 3 Apr 2020 22:13:15 +0000 (23:13 +0100)
commitaca2bbf9758307716e54fabc49d0e2682b737e8a
treec27b2818752dc8f298425e6891fa48c23314adc9
parent90811554da8afca7099abe7c7c66e6b1c009e16f
aco: add notion of subdword registers to register allocator

To not having to split the register file into single bytes,
we maintain a map with registers which contain subdword variables.

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