[llvm-commits] [llvm] r60220 - /llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h

Chris Lattner sabre at nondot.org
Fri Nov 28 14:41:36 PST 2008


Author: lattner
Date: Fri Nov 28 16:41:36 2008
New Revision: 60220

URL: http://llvm.org/viewvc/llvm-project?rev=60220&view=rev
Log:
comment cleanups.

Modified:
    llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h

Modified: llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h?rev=60220&r1=60219&r2=60220&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h Fri Nov 28 16:41:36 2008
@@ -31,16 +31,16 @@
   class MemoryDependenceAnalysis : public FunctionPass {
   private:
     // A map from instructions to their dependency, with a boolean
-    // flags for whether this mapping is confirmed or not
+    // flags for whether this mapping is confirmed or not.
     typedef DenseMap<Instruction*, std::pair<Instruction*, bool> > depMapType;
     depMapType depGraphLocal;
 
     // A map from instructions to their non-local dependencies.
-    typedef DenseMap<Instruction*, DenseMap<BasicBlock*, Value*> >
-            nonLocalDepMapType;
+    typedef DenseMap<Instruction*,
+                     DenseMap<BasicBlock*, Value*> > nonLocalDepMapType;
     nonLocalDepMapType depGraphNonLocal;
     
-    // A reverse mapping form dependencies to the dependees.  This is
+    // A reverse mapping from dependencies to the dependees.  This is
     // used when removing instructions to keep the cache coherent.
     typedef DenseMap<Value*, SmallPtrSet<Instruction*, 4> > reverseDepMapType;
     reverseDepMapType reverseDep;





More information about the llvm-commits mailing list