Skip to content

Commit 8011632

Browse files
author
git apple-llvm automerger
committed
Merge commit 'b2379bd5d599' from llvm.org/main into next
2 parents 5ac9f1c + b2379bd commit 8011632

File tree

2 files changed

+163
-1
lines changed

2 files changed

+163
-1
lines changed

llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,8 @@ void GCNHazardRecognizer::AdvanceCycle() {
417417
}
418418

419419
void GCNHazardRecognizer::RecedeCycle() {
420-
llvm_unreachable("hazard recognizer does not support bottom-up scheduling.");
420+
assert(!IsHazardRecognizerMode &&
421+
"Bottom-up scheduling shouldn't run in hazard recognizer mode");
421422
}
422423

423424
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)