[AMDGPU] need to insert wait between the scalar load and vector store to the same...
authoralex-t <alexander.timofeev@amd.com>
Sat, 4 Jan 2020 15:23:14 +0000 (18:23 +0300)
committeralex-t <alexander.timofeev@amd.com>
Sat, 4 Jan 2020 15:23:14 +0000 (18:23 +0300)
commitca8b20ca3ba10288b61a083c4ce57fb011124935
tree60baa7eb6c2d7dd593da13c3b4749e3806bb9b29
parent6d05bc2e3a9b54fde53aa5cbd83cc7c1d432cac1
[AMDGPU] need to insert wait between the scalar load and vector store to the same address to avoid WAR conflict.

Reviewers: rampitec, vpykhtin, nhaehnle

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D71934
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
llvm/test/CodeGen/AMDGPU/smrd_vmem_war.ll [new file with mode: 0644]