[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcInstrSelection.cpp SparcRegClassInfo.cpp

Misha Brukman brukman at cs.uiuc.edu
Tue Sep 23 12:29:01 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

SparcInstrSelection.cpp updated: 1.118 -> 1.119
SparcRegClassInfo.cpp updated: 1.28 -> 1.29

---
Log message:

Fixed spelling.


---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/SparcInstrSelection.cpp
diff -u llvm/lib/Target/Sparc/SparcInstrSelection.cpp:1.118 llvm/lib/Target/Sparc/SparcInstrSelection.cpp:1.119
--- llvm/lib/Target/Sparc/SparcInstrSelection.cpp:1.118	Tue Sep 16 00:56:22 2003
+++ llvm/lib/Target/Sparc/SparcInstrSelection.cpp	Tue Sep 23 12:28:11 2003
@@ -177,7 +177,7 @@
   Value* ptrVal = gepI->getPointerOperand();
   InstrTreeNode* ptrChild = gepNode->leftChild(); 
 
-  // Extract the index vector of the GEP instructin.
+  // Extract the index vector of the GEP instruction.
   // If all indices are constant and first index is zero, try to fold
   // in preceding GEPs with all constant indices.
   for (User::op_iterator OI=gepI->idx_begin(),  OE=gepI->idx_end();
@@ -2917,7 +2917,7 @@
         assert(numSubst > 0 && "Operand `dest' not replaced: probably bogus!");
 
         // Left shift 32-N if size (N) is less than 32 bits.
-        // Use another tmp. virtual registe to represent this result.
+        // Use another tmp. virtual register to represent this result.
         if (destSize < 4) {
           srlArgToUse = new TmpInstruction(mcfi, dest->getType(),
                                            tmpI, NULL, "maskHi2");


Index: llvm/lib/Target/Sparc/SparcRegClassInfo.cpp
diff -u llvm/lib/Target/Sparc/SparcRegClassInfo.cpp:1.28 llvm/lib/Target/Sparc/SparcRegClassInfo.cpp:1.29
--- llvm/lib/Target/Sparc/SparcRegClassInfo.cpp:1.28	Sun Sep 21 02:55:27 2003
+++ llvm/lib/Target/Sparc/SparcRegClassInfo.cpp	Tue Sep 23 12:28:11 2003
@@ -76,7 +76,7 @@
   }
 
   if (ColorFound) {
-    LR->setColor(c);                  // first color found in preffered order
+    LR->setColor(c);                  // first color found in preferred order
     if (DEBUG_RA) std::cerr << "\n  Colored after first search with col " << c;
   }
 





More information about the llvm-commits mailing list