aco: add v_nop inbetween exec write and VMEM/DS/FLAT
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 27 Nov 2019 17:20:15 +0000 (17:20 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Fri, 29 Nov 2019 17:46:01 +0000 (17:46 +0000)
commita9fc81b098ca36d063dbdb6f69ffde1ab215d34b
treed1fefcefe0ef7b96de862c215521b73eab6cad5a
parent54742e157d16de68e06105910d8e26d3215565c7
aco: add v_nop inbetween exec write and VMEM/DS/FLAT

LLVM and the proprietary compiler seem to do this

Fixes: b01847bd9 ("aco/gfx10: Fix mitigation of VMEMtoScalarWriteHazard.")
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_insert_NOPs.cpp