aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2019-01-09 05:11:10 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2019-01-09 05:11:10 +0000
commitdad8c6a1c9a32aea5c468f86c119c0dd244c164f (patch)
tree13466959a59faa0a8b64e3c53660425559612ac0 /llvm/lib/CodeGen/MachineScheduler.cpp
parent17f10abe1a3f23a28ce13c1647e19196a76adb32 (diff)
downloadllvm-dad8c6a1c9a32aea5c468f86c119c0dd244c164f.zip
llvm-dad8c6a1c9a32aea5c468f86c119c0dd244c164f.tar.gz
llvm-dad8c6a1c9a32aea5c468f86c119c0dd244c164f.tar.bz2
[NFC] fix trivial typos in comments
llvm-svn: 350690
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineScheduler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index ec11586..90dad9d3 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;