aco: add min(-max(), ) and max(-min(), ) optimization
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 22 Nov 2019 20:32:11 +0000 (20:32 +0000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Jan 2020 12:56:28 +0000 (12:56 +0000)
commite686e4765e15ede0119d2dba973666604acfe284
tree15994f225feda2b181fbce60995d9d699aa8cc45
parentfa8357eb7008115413a9f3219e98a0f718687223
aco: add min(-max(), ) and max(-min(), ) optimization

No pipeline-db changes.

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