aco: enable value numbering of s_buffer_load_*
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 29 Jun 2020 12:22:19 +0000 (13:22 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Jul 2020 16:56:34 +0000 (16:56 +0000)
commit46c4b256239b12eb808a3c4df2ec625c3dd90e76
tree0fef66f6dbab37b2f4bc7d0e07b89a3a87e2a513
parent2adb337256f146b10b31365ac6ba8ab820d9014e
aco: enable value numbering of s_buffer_load_*

fossil-db (Navi):
Totals from 33 (0.03% of 114665) affected shaders:
SGPRs: 2176 -> 2152 (-1.10%)
VGPRs: 1572 -> 1564 (-0.51%)
CodeSize: 115988 -> 115472 (-0.44%)
Instrs: 21459 -> 21385 (-0.34%)

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/4905>
src/amd/compiler/aco_opt_value_numbering.cpp