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
This commit is contained in:
Owen Anderson 2007-09-11 04:31:00 +00:00
parent 16ebc260bd
commit 0a890e2fb5

View File

@ -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)