aco: remove SMEM constant/addition combining out of the loop
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 14 Dec 2021 19:51:50 +0000 (19:51 +0000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 17 Dec 2021 22:14:36 +0000 (22:14 +0000)
commitfa4e08112ecb54ec082c2b259842c0758ddc9f2a
treeb48ca9c4098616ace3654e62bbb34f9ecf56127a
parentdd18925f864dd4160502c7080e6f07aff0932345
aco: remove SMEM constant/addition combining out of the loop

There's no reason for this optimization to be in this loop.

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/13755>
src/amd/compiler/aco_optimizer.cpp