[llvm-commits] CVS: llvm/lib/Target/X86/FloatingPoint.cpp X86CodeEmitter.cpp X86RegisterInfo.cpp

Misha Brukman brukman at cs.uiuc.edu
Mon Aug 18 09:33:01 PDT 2003


Changes in directory llvm/lib/Target/X86:

FloatingPoint.cpp updated: 1.7 -> 1.8
X86CodeEmitter.cpp updated: 1.35 -> 1.36
X86RegisterInfo.cpp updated: 1.34 -> 1.35

---
Log message:

Spell `necessary' correctly.


---
Diffs of the changes:

Index: llvm/lib/Target/X86/FloatingPoint.cpp
diff -u llvm/lib/Target/X86/FloatingPoint.cpp:1.7 llvm/lib/Target/X86/FloatingPoint.cpp:1.8
--- llvm/lib/Target/X86/FloatingPoint.cpp:1.7	Wed Aug 13 13:18:13 2003
+++ llvm/lib/Target/X86/FloatingPoint.cpp	Mon Aug 18 09:32:46 2003
@@ -185,7 +185,7 @@
       if (Reg >= X86::FP0 && Reg <= X86::FP6) {
 	DEBUG(std::cerr << "Register FP#" << Reg-X86::FP0 << " is dead!\n");
 	++I;                         // Insert fxch AFTER the instruction
-	moveToTop(Reg-X86::FP0, I);  // Insert fxch if neccesary
+	moveToTop(Reg-X86::FP0, I);  // Insert fxch if necessary
 	--I;                         // Move to fxch or old instruction
 	popStackAfter(I);            // Pop the top of the stack, killing value
       }


Index: llvm/lib/Target/X86/X86CodeEmitter.cpp
diff -u llvm/lib/Target/X86/X86CodeEmitter.cpp:1.35 llvm/lib/Target/X86/X86CodeEmitter.cpp:1.36
--- llvm/lib/Target/X86/X86CodeEmitter.cpp:1.35	Wed Aug 13 13:17:27 2003
+++ llvm/lib/Target/X86/X86CodeEmitter.cpp	Mon Aug 18 09:32:46 2003
@@ -449,7 +449,7 @@
   unsigned Opcode = MI.getOpcode();
   const TargetInstrDescriptor &Desc = II->get(Opcode);
 
-  // Emit instruction prefixes if neccesary
+  // Emit instruction prefixes if necessary
   if (Desc.TSFlags & X86II::OpSize) MCE.emitByte(0x66);// Operand size...
 
   switch (Desc.TSFlags & X86II::Op0Mask) {


Index: llvm/lib/Target/X86/X86RegisterInfo.cpp
diff -u llvm/lib/Target/X86/X86RegisterInfo.cpp:1.34 llvm/lib/Target/X86/X86RegisterInfo.cpp:1.35
--- llvm/lib/Target/X86/X86RegisterInfo.cpp:1.34	Mon Aug  4 15:58:29 2003
+++ llvm/lib/Target/X86/X86RegisterInfo.cpp	Mon Aug 18 09:32:46 2003
@@ -82,7 +82,7 @@
 }
 
 // hasSPAdjust - Return true if this function has ESP adjustment instructions in
-// the prolog and epilog which allocate local stack space.  This is neccesary
+// the prolog and epilog which allocate local stack space.  This is necessary
 // because we elide these instructions if there are no function calls in the
 // current function (ie, this is a leaf function).  In this case, we can refer
 // beyond the stack pointer because we know that nothing will trample on that





More information about the llvm-commits mailing list