aco: don't update demand in add_coupling_code() for loop headers
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 2 Jan 2020 14:57:02 +0000 (14:57 +0000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jan 2020 18:02:27 +0000 (18:02 +0000)
commit4537b9741014fbd40b9ed5d98a658031997851aa
treebd036a47364fedefdef46e4675792a1955ca3c5e
parent521525fc0a3b9008e70841542ad6e3db4b1ea4d6
aco: don't update demand in add_coupling_code() for loop headers

We don't need to update it since it won't be used later.

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/3257>
src/amd/compiler/aco_spill.cpp