aco: fix uninitialized data error in waitcnt pass
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 10 Mar 2020 15:07:19 +0000 (15:07 +0000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 12 Mar 2020 11:46:56 +0000 (11:46 +0000)
commit85d05b3fd713d67aa764dff60467a896a7aa1011
tree08bfcbc9079a1e9e650a3b9543cfbf4b3b3a7bbc
parentcc320ef9af6b84b6a1f275261b071d05c0ee6a62
aco: fix uninitialized data error in waitcnt pass

Shouldn't create any incorrect waitcnts but may create suboptimial
waitcnts in rare cases.

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