aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-09-11 04:31:00 +0000
committerOwen Anderson <resistor@mac.com>2007-09-11 04:31:00 +0000
commit0a890e2fb524124ecb9b0899e4daacd32bf9a44b (patch)
tree9e1c81138531f7163a792d05c22f71d6fe90a5ab /lib/Analysis
parent16ebc260bd374daa4323c78ffefc87aec485f29d (diff)
downloadexternal_llvm-0a890e2fb524124ecb9b0899e4daacd32bf9a44b.zip
external_llvm-0a890e2fb524124ecb9b0899e4daacd32bf9a44b.tar.gz
external_llvm-0a890e2fb524124ecb9b0899e4daacd32bf9a44b.tar.bz2
Fix a typo in memdep, which was causing PR1648.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/MemoryDependenceAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp
index 3072a5c..0400ce3 100644
--- a/lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -425,7 +425,7 @@ void MemoryDependenceAnalysis::removeInstruction(Instruction* rem) {
reverseDep.erase(rem);
}
- if (depGraphNonLocal.count(rem)) {
+ if (reverseDepNonLocal.count(rem)) {
SmallPtrSet<Instruction*, 4>& set = reverseDepNonLocal[rem];
for (SmallPtrSet<Instruction*, 4>::iterator I = set.begin(), E = set.end();
I != E; ++I)