Skip to content

Commit

Permalink
[AMDGPU] Add llvm_unreachable to switch statement added in d7100b3.
Browse files Browse the repository at this point in the history
  • Loading branch information
kerbowa committed Aug 2, 2022
1 parent 4146c17 commit 40eec27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ GCNScheduleDAGMILive::createSchedStage(GCNSchedStageID SchedStageID) {
case GCNSchedStageID::ILPInitialSchedule:
return std::make_unique<ILPInitialScheduleStage>(SchedStageID, *this);
}

llvm_unreachable("Unknown SchedStageID.");
}

void GCNScheduleDAGMILive::schedule() {
Expand Down

0 comments on commit 40eec27

Please sign in to comment.