aco: fix v_or(s_lshl) and v_add(s_lshl) optimizations
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 23 Apr 2020 23:21:46 +0000 (00:21 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 08:55:19 +0000 (08:55 +0000)
commit665250e8300e2b0f3eae27628a9a6f2666e650dd
treea488d7d1f2f916c518622783e38a09e5aad8e127
parent58b8fbb824f22ed7009747bdab23b919966a8d7a
aco: fix v_or(s_lshl) and v_add(s_lshl) optimizations

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Fixes: d1621834f367d41500b7c1a819c046eb429fb8a6
    ('aco: combine VALU and SALU into various VOP3 instructions')

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2822
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4717>
src/amd/compiler/aco_optimizer.cpp