aco: coalesce copies more aggressively when lowering to hw
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 7 May 2020 17:15:59 +0000 (18:15 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 9 Jun 2020 21:25:38 +0000 (21:25 +0000)
commit1d6f667193d3b29d27d6721f694af290510a4e60
tree51665b44be88570b117628796d715b44ffe9c856
parentb21d2d9a9f1f9042def069f51ae46bd64848c853
aco: coalesce copies more aggressively when lowering to hw

Helps some Detroit : Become Human shaders.

Totals from affected shaders: (VEGA)
Code Size: 9880420 -> 9879088 (-0.01 %) bytes
Instructions: 1918553 -> 1918220 (-0.02 %)
Copies: 177783 -> 177450 (-0.19 %)

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5226>
src/amd/compiler/aco_lower_to_hw_instr.cpp