[llvm-commits] CVS: llvm/lib/Analysis/BasicAliasAnalysis.cpp InductionVariable.cpp LoadValueNumbering.cpp PostDominators.cpp ValueNumbering.cpp

Misha Brukman brukman at cs.uiuc.edu
Thu Sep 11 13:13:03 PDT 2003


Changes in directory llvm/lib/Analysis:

BasicAliasAnalysis.cpp updated: 1.12 -> 1.13
InductionVariable.cpp updated: 1.29 -> 1.30
LoadValueNumbering.cpp updated: 1.7 -> 1.8
PostDominators.cpp updated: 1.41 -> 1.42
ValueNumbering.cpp updated: 1.4 -> 1.5

---
Log message:

Fixed spelling and grammar.


---
Diffs of the changes:

Index: llvm/lib/Analysis/BasicAliasAnalysis.cpp
diff -u llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.12 llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.13
--- llvm/lib/Analysis/BasicAliasAnalysis.cpp:1.12	Thu Jul  3 01:42:38 2003
+++ llvm/lib/Analysis/BasicAliasAnalysis.cpp	Thu Sep 11 13:12:02 2003
@@ -110,7 +110,7 @@
   const Value *O1 = getUnderlyingObject(V1);
   const Value *O2 = getUnderlyingObject(V2);
 
-  // Pointing at a discernable object?
+  // Pointing at a discernible object?
   if (O1 && O2) {
     // If they are two different objects, we know that we have no alias...
     if (O1 != O2) return NoAlias;


Index: llvm/lib/Analysis/InductionVariable.cpp
diff -u llvm/lib/Analysis/InductionVariable.cpp:1.29 llvm/lib/Analysis/InductionVariable.cpp:1.30
--- llvm/lib/Analysis/InductionVariable.cpp:1.29	Wed Sep 10 09:55:05 2003
+++ llvm/lib/Analysis/InductionVariable.cpp	Thu Sep 11 13:12:02 2003
@@ -178,7 +178,7 @@
     return 0;
   }
 
-  // Find final node: predecesor of the loop header that's also an exit
+  // Find final node: predecessor of the loop header that's also an exit
   BasicBlock *terminator = 0;
   for (pred_iterator PI = pred_begin(L->getHeader()),
          PE = pred_end(L->getHeader()); PI != PE; ++PI)


Index: llvm/lib/Analysis/LoadValueNumbering.cpp
diff -u llvm/lib/Analysis/LoadValueNumbering.cpp:1.7 llvm/lib/Analysis/LoadValueNumbering.cpp:1.8
--- llvm/lib/Analysis/LoadValueNumbering.cpp:1.7	Thu Sep 11 10:30:57 2003
+++ llvm/lib/Analysis/LoadValueNumbering.cpp	Thu Sep 11 13:12:02 2003
@@ -109,7 +109,7 @@
     Function *F = LI->getParent()->getParent();
 
     // Now that we know the set of equivalent source pointers for the load
-    // instruction, look to see if there are any load or store candiates that
+    // instruction, look to see if there are any load or store candidates that
     // are identical.
     //
     std::vector<LoadInst*> CandidateLoads;
@@ -148,7 +148,7 @@
     AliasAnalysis &AA = getAnalysis<AliasAnalysis>();
     DominatorSet &DomSetInfo = getAnalysis<DominatorSet>();
     
-    // Loop over all of the candindate loads.  If they are not invalidated by
+    // Loop over all of the candidate loads.  If they are not invalidated by
     // stores or calls between execution of them and LI, then add them to
     // RetVals.
     for (unsigned i = 0, e = CandidateLoads.size(); i != e; ++i)


Index: llvm/lib/Analysis/PostDominators.cpp
diff -u llvm/lib/Analysis/PostDominators.cpp:1.41 llvm/lib/Analysis/PostDominators.cpp:1.42
--- llvm/lib/Analysis/PostDominators.cpp:1.41	Thu Sep 11 11:26:09 2003
+++ llvm/lib/Analysis/PostDominators.cpp	Thu Sep 11 13:12:02 2003
@@ -181,7 +181,7 @@
   if (BB)
     for (pred_iterator SI = pred_begin(BB), SE = pred_end(BB);
          SI != SE; ++SI)
-      // Does Node immediately dominate this predeccessor?
+      // Does Node immediately dominate this predecessor?
       if (DT[*SI]->getIDom() != Node)
         S.insert(*SI);
 


Index: llvm/lib/Analysis/ValueNumbering.cpp
diff -u llvm/lib/Analysis/ValueNumbering.cpp:1.4 llvm/lib/Analysis/ValueNumbering.cpp:1.5
--- llvm/lib/Analysis/ValueNumbering.cpp:1.4	Wed Oct 30 22:20:07 2002
+++ llvm/lib/Analysis/ValueNumbering.cpp	Thu Sep 11 13:12:02 2003
@@ -100,7 +100,7 @@
       // Check to see if this new cast is not I, but has the same operand...
       if (Other != &I && Other->getOpcode() == I.getOpcode() &&
           Other->getOperand(0) == Op &&     // Is the operand the same?
-          // Is it embeded in the same function?  (This could be false if LHS
+          // Is it embedded in the same function?  (This could be false if LHS
           // is a constant or global!)
           Other->getParent()->getParent() == F &&
 
@@ -118,7 +118,7 @@
 //
 static inline bool isIdenticalBinaryInst(const Instruction &I1,
                                          const Instruction *I2) {
-  // Is it embeded in the same function?  (This could be false if LHS
+  // Is it embedded in the same function?  (This could be false if LHS
   // is a constant or global!)
   if (I1.getOpcode() != I2->getOpcode() ||
       I1.getParent()->getParent() != I2->getParent()->getParent())





More information about the llvm-commits mailing list