aco: fix transitive affinities of spilled variables
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 16 Oct 2019 14:39:06 +0000 (16:39 +0200)
committerDaniel Schürmann <daniel@schuermann.dev>
Wed, 30 Oct 2019 19:48:33 +0000 (19:48 +0000)
commitcd20e29de14496225de5ff4503e04701e1affc52
treef1f4de1647ccf88229ba1be9a5c05a3b0a34f023
parent8023dcd71ee9eb1c5db012d716e959e973323906
aco: fix transitive affinities of spilled variables

Variables spilled on both branch legs need to be assigned to the same spilling slot.
These affinities can be transitive through multiple merge blocks.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
src/amd/compiler/aco_spill.cpp