aco: Mark VCC clobbered for iadd8 and iadd16 reductions on GFX6-7.
authorTimur Kristóf <timur.kristof@gmail.com>
Tue, 20 Apr 2021 11:55:23 +0000 (13:55 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 22 Apr 2021 11:29:49 +0000 (11:29 +0000)
commit74c467d9886cbb588d9e8f0ac23775d4b9d780bd
tree57491af3f982cfa2e0e6969545e5652f79ffb9af
parent59bbf885e97ab1cc17446ff6a46c4cda501cfd46
aco: Mark VCC clobbered for iadd8 and iadd16 reductions on GFX6-7.

On GFX6-7, the 8 and 16-bit integer add reductions use the 32-bit v_add
instruction, which clobbers the VCC register.

Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10346>
src/amd/compiler/aco_instruction_selection.cpp