From dad8c6a1c9a32aea5c468f86c119c0dd244c164f Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Wed, 9 Jan 2019 05:11:10 +0000 Subject: [NFC] fix trivial typos in comments llvm-svn: 350690 --- llvm/lib/CodeGen/MachineScheduler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp') 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; -- cgit v1.2.3