aco: better handle neg/abs of sgprs
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 13 Dec 2019 16:59:54 +0000 (16:59 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 13 Jan 2020 13:26:43 +0000 (13:26 +0000)
commit21eafe30df5d5fa02a908e277add7adb7816ec4c
tree118f8dc7ee84d5da5ebd01375f841c5fb94b604c
parentf29a5a205c11990111fc4eedee423e2b904537b2
aco: better handle neg/abs of sgprs

isel/label_instruction currently doesn't create these but we should
probably check anyway.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-By: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3081>
src/amd/compiler/aco_optimizer.cpp