projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16ebc26
)
Fix a typo in memdep, which was causing PR1648.
author
Owen Anderson
<resistor@mac.com>
Tue, 11 Sep 2007 04:31:00 +0000
(
04:31
+0000)
committer
Owen Anderson
<resistor@mac.com>
Tue, 11 Sep 2007 04:31:00 +0000
(
04:31
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41833
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/MemoryDependenceAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/MemoryDependenceAnalysis.cpp
b/lib/Analysis/MemoryDependenceAnalysis.cpp
index 3072a5c5737729243bd5a2fc73a6a46b1e2886cc..0400ce3429469f4285836b4aaeedc0e132d26c86 100644
(file)
--- a/
lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/
lib/Analysis/MemoryDependenceAnalysis.cpp
@@
-425,7
+425,7
@@
void MemoryDependenceAnalysis::removeInstruction(Instruction* rem) {
reverseDep.erase(rem);
}
- if (
depGraph
NonLocal.count(rem)) {
+ if (
reverseDep
NonLocal.count(rem)) {
SmallPtrSet<Instruction*, 4>& set = reverseDepNonLocal[rem];
for (SmallPtrSet<Instruction*, 4>::iterator I = set.begin(), E = set.end();
I != E; ++I)