diff --git a/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp b/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp --- a/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp +++ b/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp @@ -428,9 +428,6 @@ continue; MinWaitStates = Found ? std::min(MinWaitStates, W) : W; - if (IsExpired(nullptr, MinWaitStates)) - return MinWaitStates; - Found = true; }