From 907aedbb3d08a28f00a6a45b0ec82cdc373115c9 Mon Sep 17 00:00:00 2001 From: David Penry Date: Tue, 29 Mar 2022 10:13:55 -0700 Subject: [PATCH] [NFC] Fix spelling/newlines in comments/debug messages Just a few spelling mistakes and missing newlines Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D127162 --- llvm/lib/CodeGen/MachinePipeliner.cpp | 4 ++-- llvm/lib/CodeGen/ModuloSchedule.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/CodeGen/MachinePipeliner.cpp b/llvm/lib/CodeGen/MachinePipeliner.cpp index e6619e180758..a80cb79cae19 100644 --- a/llvm/lib/CodeGen/MachinePipeliner.cpp +++ b/llvm/lib/CodeGen/MachinePipeliner.cpp @@ -514,7 +514,7 @@ void SwingSchedulerDAG::schedule() { // Don't pipeline large loops. if (SwpMaxMii != -1 && (int)MII > SwpMaxMii) { LLVM_DEBUG(dbgs() << "MII > " << SwpMaxMii - << ", we don't pipleline large loops\n"); + << ", we don't pipeline large loops\n"); NumFailLargeMaxMII++; Pass.ORE->emit([&]() { return MachineOptimizationRemarkAnalysis( @@ -1668,7 +1668,7 @@ void SwingSchedulerDAG::registerPressureFilter(NodeSetType &NodeSets) { LLVM_DEBUG( dbgs() << "Excess register pressure: SU(" << SU->NodeNum << ") " << TRI->getRegPressureSetName(RPDelta.Excess.getPSet()) - << ":" << RPDelta.Excess.getUnitInc()); + << ":" << RPDelta.Excess.getUnitInc() << "\n"); NS.setExceedPressure(SU); break; } diff --git a/llvm/lib/CodeGen/ModuloSchedule.cpp b/llvm/lib/CodeGen/ModuloSchedule.cpp index 767c4840dc0f..c0a2d1fef944 100644 --- a/llvm/lib/CodeGen/ModuloSchedule.cpp +++ b/llvm/lib/CodeGen/ModuloSchedule.cpp @@ -1003,7 +1003,7 @@ MachineInstr *ModuloScheduleExpander::cloneAndChangeInstr( } /// Update the machine instruction with new virtual registers. This -/// function may change the defintions and/or uses. +/// function may change the definitions and/or uses. void ModuloScheduleExpander::updateInstruction(MachineInstr *NewMI, bool LastDef, unsigned CurStageNum,