aco/ra: create VCC-affinities during RA
authorDaniel Schürmann <daniel@schuermann.dev>
Tue, 15 Mar 2022 11:15:44 +0000 (12:15 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 13 Apr 2022 21:52:43 +0000 (21:52 +0000)
commit6ebc61d71b853443e7f9f509352656a961b0841a
treebb0335e80de68f92e084364f8320cb1828ba1f82
parent44fb9ba84ac1048bd045b147546a2731962ea458
aco/ra: create VCC-affinities during RA

instead of using register hints.

Totals from 88367 (65.50% of 134913) affected shaders: (GFX10.3)
CodeSize: 322492184 -> 322252912 (-0.07%); split: -0.08%, +0.01%
Instrs: 60615809 -> 60541260 (-0.12%); split: -0.12%, +0.00%
Latency: 557067980 -> 557009210 (-0.01%); split: -0.01%, +0.00%
InvThroughput: 109676757 -> 109674804 (-0.00%); split: -0.00%, +0.00%
SClause: 1939703 -> 1939924 (+0.01%); split: -0.01%, +0.02%
Copies: 4557567 -> 4487530 (-1.54%); split: -1.54%, +0.00%
Branches: 1941123 -> 1937453 (-0.19%)

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