[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ADCE.cpp LoopPreheaders.cpp LowerAllocations.cpp RaiseAllocations.cpp Reassociate.cpp SCCP.cpp

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


Changes in directory llvm/lib/Transforms/Scalar:

ADCE.cpp updated: 1.57 -> 1.58
LoopPreheaders.cpp updated: 1.12 -> 1.13
LowerAllocations.cpp updated: 1.37 -> 1.38
RaiseAllocations.cpp updated: 1.15 -> 1.16
Reassociate.cpp updated: 1.22 -> 1.23
SCCP.cpp updated: 1.71 -> 1.72

---
Log message:

Spell `necessary' correctly.


---
Diffs of the changes:

Index: llvm/lib/Transforms/Scalar/ADCE.cpp
diff -u llvm/lib/Transforms/Scalar/ADCE.cpp:1.57 llvm/lib/Transforms/Scalar/ADCE.cpp:1.58
--- llvm/lib/Transforms/Scalar/ADCE.cpp:1.57	Fri Aug  1 17:15:03 2003
+++ llvm/lib/Transforms/Scalar/ADCE.cpp	Mon Aug 18 09:33:38 2003
@@ -208,7 +208,7 @@
   std::set<BasicBlock*> AliveBlocks;
 
   // Process the work list of instructions that just became live... if they
-  // became live, then that means that all of their operands are neccesary as
+  // became live, then that means that all of their operands are necessary as
   // well... make them live as well.
   //
   while (!WorkList.empty()) {


Index: llvm/lib/Transforms/Scalar/LoopPreheaders.cpp
diff -u llvm/lib/Transforms/Scalar/LoopPreheaders.cpp:1.12 llvm/lib/Transforms/Scalar/LoopPreheaders.cpp:1.13
--- llvm/lib/Transforms/Scalar/LoopPreheaders.cpp:1.12	Mon May 12 17:04:34 2003
+++ llvm/lib/Transforms/Scalar/LoopPreheaders.cpp	Mon Aug 18 09:33:38 2003
@@ -13,7 +13,7 @@
 // as store-sinking that is built into LICM.
 //
 // Note that the simplifycfg pass will clean up blocks which are split out but
-// end up being unneccesary, so usage of this pass does not neccesarily
+// end up being unnecessary, so usage of this pass does not neccesarily
 // pessimize generated code.
 //
 //===----------------------------------------------------------------------===//


Index: llvm/lib/Transforms/Scalar/LowerAllocations.cpp
diff -u llvm/lib/Transforms/Scalar/LowerAllocations.cpp:1.37 llvm/lib/Transforms/Scalar/LowerAllocations.cpp:1.38
--- llvm/lib/Transforms/Scalar/LowerAllocations.cpp:1.37	Thu Aug 14 01:09:32 2003
+++ llvm/lib/Transforms/Scalar/LowerAllocations.cpp	Mon Aug 18 09:33:38 2003
@@ -97,7 +97,7 @@
       if (MI->getNumOperands() && Size == 1) {
         MallocArg = MI->getOperand(0);         // Operand * 1 = Operand
       } else if (MI->getNumOperands()) {
-        // Multiply it by the array size if neccesary...
+        // Multiply it by the array size if necessary...
         MallocArg = BinaryOperator::create(Instruction::Mul, MI->getOperand(0),
                                            MallocArg, "", I);
       }


Index: llvm/lib/Transforms/Scalar/RaiseAllocations.cpp
diff -u llvm/lib/Transforms/Scalar/RaiseAllocations.cpp:1.15 llvm/lib/Transforms/Scalar/RaiseAllocations.cpp:1.16
--- llvm/lib/Transforms/Scalar/RaiseAllocations.cpp:1.15	Mon Aug 11 10:05:08 2003
+++ llvm/lib/Transforms/Scalar/RaiseAllocations.cpp	Mon Aug 18 09:33:38 2003
@@ -133,7 +133,7 @@
         ++NumRaised;
       } else if (CI->getCalledValue() == FreeFunc) { // Replace call to free?
         // If no prototype was provided for free, we may need to cast the
-        // source pointer.  This should be really uncommon, but it's neccesary
+        // source pointer.  This should be really uncommon, but it's necessary
         // just in case we are dealing with wierd code like this:
         //   free((long)ptr);
         //


Index: llvm/lib/Transforms/Scalar/Reassociate.cpp
diff -u llvm/lib/Transforms/Scalar/Reassociate.cpp:1.22 llvm/lib/Transforms/Scalar/Reassociate.cpp:1.23
--- llvm/lib/Transforms/Scalar/Reassociate.cpp:1.22	Wed Aug 13 11:16:26 2003
+++ llvm/lib/Transforms/Scalar/Reassociate.cpp	Mon Aug 18 09:33:38 2003
@@ -177,7 +177,7 @@
   //   X = -(A+12+C+D)   into    X = -A + -12 + -C + -D = -12 + -A + -C + -D
   // so that later, a: Y = 12+X could get reassociated with the -12 to eliminate
   // the constants.  We assume that instcombine will clean up the mess later if
-  // we introduce tons of unneccesary negation instructions...
+  // we introduce tons of unnecessary negation instructions...
   //
   if (Instruction *I = dyn_cast<Instruction>(V))
     if (I->getOpcode() == Instruction::Add && I->use_size() == 1) {


Index: llvm/lib/Transforms/Scalar/SCCP.cpp
diff -u llvm/lib/Transforms/Scalar/SCCP.cpp:1.71 llvm/lib/Transforms/Scalar/SCCP.cpp:1.72
--- llvm/lib/Transforms/Scalar/SCCP.cpp:1.71	Fri Aug  1 17:15:03 2003
+++ llvm/lib/Transforms/Scalar/SCCP.cpp	Mon Aug 18 09:33:38 2003
@@ -132,7 +132,7 @@
   }
 
   // getValueState - Return the InstVal object that corresponds to the value.
-  // This function is neccesary because not all values should start out in the
+  // This function is necessary because not all values should start out in the
   // underdefined state... Argument's should be overdefined, and
   // constants should be marked as constants.  If a value is not known to be an
   // Instruction object, then use this accessor to get its value from the map.





More information about the llvm-commits mailing list