Fixed spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8588 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/InstrSelection/InstrSelection.cpp b/lib/CodeGen/InstrSelection/InstrSelection.cpp
index 49a599f..ae910b8 100644
--- a/lib/CodeGen/InstrSelection/InstrSelection.cpp
+++ b/lib/CodeGen/InstrSelection/InstrSelection.cpp
@@ -81,7 +81,7 @@
{
mcfi.addTemp(this);
- Operands.push_back(Use(s1, this)); // s1 must be nonnull
+ Operands.push_back(Use(s1, this)); // s1 must be non-null
if (s2) {
Operands.push_back(Use(s2, this));
}
@@ -239,7 +239,7 @@
MachineFunction &MF = MachineFunction::get(BB->getParent());
// FIXME: if PHI instructions existed in the machine code, this would be
- // unnecesary.
+ // unnecessary.
MachineBasicBlock *MBB = 0;
for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ++I)
if (I->getBasicBlock() == BB) {
@@ -342,7 +342,7 @@
}
}
- // Finally, do any postprocessing on this node after its children
+ // Finally, do any post-processing on this node after its children
// have been translated
//
if (treeRoot->opLabel != VRegListOp)