aco: properly recognize that s_waitcnt mitigates VMEMtoScalarWriteHazard
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 15 Jul 2020 16:34:21 +0000 (17:34 +0100)
committerMarge Bot <eric+marge@anholt.net>
Sat, 18 Jul 2020 00:14:12 +0000 (00:14 +0000)
commitbcf94bb933e8ccc0b91305ed8189a35e8938abbf
treea5917dc2e2f070bdf6a8897cc050e04c9dd62962
parent33f33bb7d6932ca2432bab8e589bb4728dd1d9c6
aco: properly recognize that s_waitcnt mitigates VMEMtoScalarWriteHazard

fossil-db (Navi):
Totals from 555 (0.41% of 135946) affected shaders:
CodeSize: 1005716 -> 1003400 (-0.23%)
Instrs: 195326 -> 194744 (-0.30%)

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/5923>
src/amd/compiler/aco_insert_NOPs.cpp