aco: check instruction format before waiting for a previous SMEM store
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 29 Apr 2020 16:47:50 +0000 (17:47 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 28 May 2020 10:34:03 +0000 (10:34 +0000)
commit95d5c1b8a1ebe4a2ce47206b9ff0af4fbfd5a31a
tree63470467ef00b1a16981b34a9fe0a2fb9bab5981
parent5ccc7c277c86f754f40515820b27b55296107c54
aco: check instruction format before waiting for a previous SMEM store

Totals from 7 (0.01% of 127638) affected shaders:
CodeSize: 40336 -> 40320 (-0.04%)
Instrs: 7807 -> 7803 (-0.05%)
Cycles: 118588 -> 118344 (-0.21%); split: -0.23%, +0.02%
SMEM: 331 -> 339 (+2.42%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Fixes: 1749953ea3 ('aco/gfx10: Wait for pending SMEM stores before loads')
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4880>
src/amd/compiler/aco_insert_waitcnt.cpp