aco: don't create vector affinities for operands which are not killed or are duplicates
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 15 Apr 2020 11:05:55 +0000 (12:05 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Apr 2020 18:23:23 +0000 (18:23 +0000)
commit6792e134f37323d8b56a60b4620e782fc0d673dd
tree1cc323a757abf9b1b331305d891db439b55c3771
parentedc2b57ac14c6f9f3dadd3d7282e9d6ac1bc4304
aco: don't create vector affinities for operands which are not killed or are duplicates

Totals from affected shaders:
SGPRS: 825184 -> 825184 (0.00 %)
VGPRS: 697640 -> 697240 (-0.06 %)
Code Size: 79244104 -> 79201072 (-0.05 %) bytes
Max Waves: 42388 -> 42386 (-0.00 %)

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