aco/wave32: fix comparison optimizations
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 3 Dec 2019 13:37:49 +0000 (13:37 +0000)
committerTimur Kristóf <timur.kristof@gmail.com>
Sat, 21 Dec 2019 11:38:42 +0000 (12:38 +0100)
commit6ff92f3d684747c4597f926766ad264db5875a3c
treed138b03383498917df3e14cbe7b67ebf86c67f98
parent4dd08b710b749d097b5c68f6edd801e6da26903a
aco/wave32: fix comparison optimizations

Previously, they weren't done in wave32.

Totals from affected shaders:
SGPRS: 507726 -> 508006 (0.06 %)
VGPRS: 450340 -> 450268 (-0.02 %)
Spilled SGPRs: 298 -> 298 (0.00 %)
Spilled VGPRs: 0 -> 0 (0.00 %)
Code Size: 39689708 -> 39384488 (-0.77 %) bytes
Max Waves: 39631 -> 39636 (0.01 %)
Instructions: 7865919 -> 7793650 (-0.92 %)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_optimizer.cpp