[AMDGPU] Fix scheduling of exp pos4
authorJay Foad <jay.foad@amd.com>
Wed, 11 Nov 2020 19:29:53 +0000 (19:29 +0000)
committerJay Foad <jay.foad@amd.com>
Thu, 12 Nov 2020 19:57:14 +0000 (19:57 +0000)
commit6881a82e8c31e420b7ec163928c8737812c8bd3b
treec97f768fe3ecd03ab96ece4e3d6c7b5c33796e40
parentd7d6ac562477f71879bc72ea11bc0861b41382a0
[AMDGPU] Fix scheduling of exp pos4

Also fix a similar issue in SIInsertWaitcnts, but I don't think that fix
has any effect in practice.

Differential Revision: https://reviews.llvm.org/D91290
llvm/lib/Target/AMDGPU/AMDGPUExportClustering.cpp
llvm/lib/Target/AMDGPU/SIDefines.h
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.exp.ll