aco: don't consider loop header blocks branch blocks in add_coupling_code
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 2 Jan 2020 14:54:31 +0000 (14:54 +0000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jan 2020 18:02:27 +0000 (18:02 +0000)
commit521525fc0a3b9008e70841542ad6e3db4b1ea4d6
treeeae5f40e0376e79bc3f7dec7c85a636e12559d6b
parent590c26beab153fbc7c2193ce65a9a63329a80be8
aco: don't consider loop header blocks branch blocks in add_coupling_code

Loops without continues create header blocks with only 1 predecessor.

CC: <mesa-stable@lists.freedesktop.org>
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