[llvm-commits] [llvm] r123207 - /llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Jan 10 17:18:03 PST 2011
Author: stoklund
Date: Mon Jan 10 19:18:03 2011
New Revision: 123207
URL: http://llvm.org/viewvc/llvm-project?rev=123207&view=rev
Log:
Turn on memdep's verifyRemoved() in an attempt to smoke out the cause of our gcc bootstrap miscompare.
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=123207&r1=123206&r2=123207&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp Mon Jan 10 19:18:03 2011
@@ -1262,7 +1262,9 @@
assert(!NonLocalDeps.count(RemInst) && "RemInst got reinserted?");
AA->deleteValue(RemInst);
- DEBUG(verifyRemoved(RemInst));
+#ifndef NDEBUG
+ verifyRemoved(RemInst);
+#endif
}
/// verifyRemoved - Verify that the specified instruction does not occur
/// in our internal data structures.
More information about the llvm-commits
mailing list