Skip to content

Commit

Permalink
[NFC] Add explicit instantiation to releaseNode
Browse files Browse the repository at this point in the history
Resolve a build failure about undefined symbols introduced by f9f78cf.

Differential Revision: https://reviews.llvm.org/D72069
  • Loading branch information
ecnelises committed Jan 2, 2020
1 parent 404da13 commit bdf4224
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions llvm/lib/CodeGen/MachineScheduler.cpp
Expand Up @@ -2088,6 +2088,11 @@ getOtherResourceCount(unsigned &OtherCritIdx) {
return OtherCritCount;
}

template void SchedBoundary::releaseNode<true>(SUnit *SU, unsigned ReadyCycle,
unsigned Idx);
template void SchedBoundary::releaseNode<false>(SUnit *SU, unsigned ReadyCycle,
unsigned Idx);

template <bool InPQueue>
void SchedBoundary::releaseNode(SUnit *SU, unsigned ReadyCycle, unsigned Idx) {
assert(SU->getInstr() && "Scheduled SUnit must have instr");
Expand Down

0 comments on commit bdf4224

Please sign in to comment.