aco: add 32-bit integer addition to can_swap_operands
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 30 Jun 2020 15:16:18 +0000 (16:16 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jul 2020 14:11:50 +0000 (14:11 +0000)
commit15a17fddad6123efc4da1012f8bc9fe3acf87ac4
treef2fc139e7546612f30bcf9b62ebbe430fb0f7cd6
parentec9920e72b0161642eccb0a2506eccc5b2c99a92
aco: add 32-bit integer addition to can_swap_operands

fossil-db (Navi):
Totals from 167 (0.12% of 135946) affected shaders:
CodeSize: 484892 -> 482628 (-0.47%)

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