aco: don't emit parallelcopy when switching to WQM.
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 12 Aug 2020 12:52:04 +0000 (14:52 +0200)
committerDaniel Schürmann <daniel@schuermann.dev>
Tue, 22 Dec 2020 14:08:40 +0000 (15:08 +0100)
commit2116b4504ecd5147b15517cbf16a1e6ea0666d93
treec0bee218229fcb07cfa6052aa4d3badf5ababa12
parentf815b87e188a0e7f4b0aa31f502be7939479f622
aco: don't emit parallelcopy when switching to WQM.

The reason was an RA bug which has been fixed a while ago.
This change fixes some register demand miscalculations.

Totals from 1013 (0.73% of 139391) affected shaders (NAVI10):
CodeSize: 6050408 -> 6047504 (-0.05%); split: -0.05%, +0.00%
Instrs: 1160533 -> 1159765 (-0.07%); split: -0.07%, +0.00%
Cycles: 8027212 -> 8024140 (-0.04%); split: -0.04%, +0.00%
VMEM: 296195 -> 296091 (-0.04%)
SMEM: 73003 -> 73011 (+0.01%); split: +0.05%, -0.04%
SClause: 37221 -> 37222 (+0.00%)
Copies: 70931 -> 70166 (-1.08%)

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7903>
src/amd/compiler/aco_insert_exec_mask.cpp