aco: improve SCC handling in some SALU combines
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 28 Jan 2020 12:05:26 +0000 (12:05 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Wed, 12 Feb 2020 19:18:45 +0000 (19:18 +0000)
commit483d4ec57ce0ca0df26fffea648d52a738c8f4e0
tree3d7fb120d8d58ee87f8335f7f7aba5174cbc888a
parentd45e9451cf47014d37816baf2656981a1c715e50
aco: improve SCC handling in some SALU combines

Add some checks and remove some unnecessary checks.

Found by observation. No pipeline-db changes.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3599>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3599>
src/amd/compiler/aco_optimizer.cpp