aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-28 22:41:36 +0000
committerChris Lattner <sabre@nondot.org>2008-11-28 22:41:36 +0000
commit956033a4f5de491fcc07bc3ef0700ad22fd836a0 (patch)
treef0c754769a9e37fd1bc94fc7c44fcdddb73714b5
parentbaad8881f1d87b50053edc862248dc6cb15af81b (diff)
comment cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60220 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/MemoryDependenceAnalysis.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h
index 8021b06462..ea544ca3a6 100644
--- a/include/llvm/Analysis/MemoryDependenceAnalysis.h
+++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h
@@ -31,16 +31,16 @@ namespace llvm {
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;