aco/wave32: Set the definitions of v_cmp instructions to the lane mask.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 10 Jan 2020 16:13:06 +0000 (17:13 +0100)
committerTimur Kristóf <timur.kristof@gmail.com>
Sat, 11 Jan 2020 19:15:53 +0000 (20:15 +0100)
commit44a6b17df76bebcccff0a928987ea2a3272e32a4
tree6e2c1fe465eb52e3c799e252a7e95d8a09746df0
parent59d30fd4bc60f3562ca4c8247340389e97e494ae
aco/wave32: Set the definitions of v_cmp instructions to the lane mask.

The output of v_cmp instructions is s1 (a single SGPR) in wave32 mode,
as opposed to s2 (an SGPR-pair) in wave64 mode.
A couple of cases where this should have been fixed were omitted from
the previous patch by mistake.

Fixes: e0bcefc3a0a15a8c7ec00cfa53fd8fffcc07342a
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_instruction_selection.cpp