aco: add add_interference() helper
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 16 Jul 2020 10:08:50 +0000 (11:08 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Jul 2020 16:22:57 +0000 (16:22 +0000)
commitb85ef043245e318422dbf99701267734a336ddf5
tree40ec8cbf44650fe57b85af62a150753229dcc6c5
parent2c7554fe01257c371231eb8dc8c642cde4742955
aco: add add_interference() helper

This won't add interferences between spill ids of different types and will
exit early if there's already an interference.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5805>
src/amd/compiler/aco_spill.cpp