diff options
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp index ec11586b08e..90dad9d399f 100644 --- a/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/lib/CodeGen/MachineScheduler.cpp @@ -2460,13 +2460,13 @@ static unsigned computeRemLatency(SchedBoundary &CurrZone) { } /// Returns true if the current cycle plus remaning latency is greater than -/// the cirtical path in the scheduling region. +/// the critical path in the scheduling region. bool GenericSchedulerBase::shouldReduceLatency(const CandPolicy &Policy, SchedBoundary &CurrZone, bool ComputeRemLatency, unsigned &RemLatency) const { // The current cycle is already greater than the critical path, so we are - // already latnecy limited and don't need to compute the remaining latency. + // already latency limited and don't need to compute the remaining latency. if (CurrZone.getCurrCycle() > Rem.CriticalPath) return true; |