aco: fix neg(mul)/abs(mul) optimization with different bit-size
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 31 Jan 2022 18:28:59 +0000 (18:28 +0000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 3 Feb 2022 16:02:04 +0000 (16:02 +0000)
commit6b1dfa7eac2bd1e0dfb15febd0435b899101edb7
tree9194172112de811ac4551f75282a7fee8fdb9cc3
parent13bbc7c882cd06435cee0a72352f409911a01ded
aco: fix neg(mul)/abs(mul) optimization with different bit-size

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