[llvm] 907aedb - [NFC] Fix spelling/newlines in comments/debug messages
David Penry via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 7 09:39:34 PDT 2022
Author: David Penry
Date: 2022-06-07T09:38:53-07:00
New Revision: 907aedbb3d08a28f00a6a45b0ec82cdc373115c9
URL: https://github.com/llvm/llvm-project/commit/907aedbb3d08a28f00a6a45b0ec82cdc373115c9
DIFF: https://github.com/llvm/llvm-project/commit/907aedbb3d08a28f00a6a45b0ec82cdc373115c9.diff
LOG: [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
Added:
Modified:
llvm/lib/CodeGen/MachinePipeliner.cpp
llvm/lib/CodeGen/ModuloSchedule.cpp
Removed:
################################################################################
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,
More information about the llvm-commits
mailing list