[PATCH] D127162: [NFC] Fix spelling/newlines in comments/debug messages
David Penry via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 6 15:39:59 PDT 2022
dpenry created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
dpenry requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Just a few spelling mistakes and missing newlines
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127162
Files:
llvm/lib/CodeGen/MachinePipeliner.cpp
llvm/lib/CodeGen/ModuloSchedule.cpp
Index: llvm/lib/CodeGen/ModuloSchedule.cpp
===================================================================
--- llvm/lib/CodeGen/ModuloSchedule.cpp
+++ llvm/lib/CodeGen/ModuloSchedule.cpp
@@ -1003,7 +1003,7 @@
}
/// 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,
Index: llvm/lib/CodeGen/MachinePipeliner.cpp
===================================================================
--- llvm/lib/CodeGen/MachinePipeliner.cpp
+++ llvm/lib/CodeGen/MachinePipeliner.cpp
@@ -514,7 +514,7 @@
// 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 @@
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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127162.434631.patch
Type: text/x-patch
Size: 1563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220606/e5c76a7d/attachment.bin>
More information about the llvm-commits
mailing list