[llvm-commits] CVS: llvm/lib/CodeGen/InstrSelection/InstrForest.cpp InstrSelection.cpp

Misha Brukman brukman at cs.uiuc.edu
Wed Sep 17 16:35:01 PDT 2003


Changes in directory llvm/lib/CodeGen/InstrSelection:

InstrForest.cpp updated: 1.44 -> 1.45
InstrSelection.cpp updated: 1.61 -> 1.62

---
Log message:

Fixed spelling.


---
Diffs of the changes:

Index: llvm/lib/CodeGen/InstrSelection/InstrForest.cpp
diff -u llvm/lib/CodeGen/InstrSelection/InstrForest.cpp:1.44 llvm/lib/CodeGen/InstrSelection/InstrForest.cpp:1.45
--- llvm/lib/CodeGen/InstrSelection/InstrForest.cpp:1.44	Mon Jun 30 16:58:44 2003
+++ llvm/lib/CodeGen/InstrSelection/InstrForest.cpp	Wed Sep 17 16:34:23 2003
@@ -4,7 +4,7 @@
 //  tree if one or more of them might be potentially combined into a single
 //  complex instruction in the target machine.
 //  Since this grouping is completely machine-independent, we do it as
-//  aggressive as possible to exploit any possible taret instructions.
+//  aggressive as possible to exploit any possible target instructions.
 //  In particular, we group two instructions O and I if:
 //      (1) Instruction O computes an operand used by instruction I,
 //  and (2) O and I are part of the same basic block,


Index: llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp
diff -u llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp:1.61 llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp:1.62
--- llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp:1.61	Thu Aug 21 17:10:08 2003
+++ llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp	Wed Sep 17 16:34:23 2003
@@ -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)





More information about the llvm-commits mailing list