[llvm-commits] [llvm] r41833 - /llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
Owen Anderson
resistor at mac.com
Mon Sep 10 21:31:00 PDT 2007
Author: resistor
Date: Mon Sep 10 23:31:00 2007
New Revision: 41833
URL: http://llvm.org/viewvc/llvm-project?rev=41833&view=rev
Log:
Fix a typo in memdep, which was causing PR1648.
Modified:
llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp?rev=41833&r1=41832&r2=41833&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp Mon Sep 10 23:31:00 2007
@@ -425,7 +425,7 @@
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)
More information about the llvm-commits
mailing list