aco: add more opcodes to can_swap_operands
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 19 May 2020 12:41:43 +0000 (13:41 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Jun 2020 18:24:22 +0000 (18:24 +0000)
commit82de70d06e1b678aa2426ae647327ca2f418dc0e
treecb3c26a5d83ea8f69f382ee824aa11af63a9b719
parent3c1b55962e0da924bc96a16689c9421888891959
aco: add more opcodes to can_swap_operands

fossil-db (Navi, fp16 enabled):
Totals from 310 (0.24% of 127638) affected shaders:
CodeSize: 1290508 -> 1289716 (-0.06%)

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