diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-01-11 01:18:03 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-01-11 01:18:03 +0000 |
commit | 121704d738f9de8aaf04b144dcf493130fbfee3d (patch) | |
tree | a1b1cbf7c5d0b28e4a795d43244591dc3bcc5770 /lib/Analysis/MemoryDependenceAnalysis.cpp | |
parent | 15ed90c859e5df11112c614c83d0d2e786d4c73a (diff) |
Turn on memdep's verifyRemoved() in an attempt to smoke out the cause of our gcc bootstrap miscompare.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemoryDependenceAnalysis.cpp')
-rw-r--r-- | lib/Analysis/MemoryDependenceAnalysis.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp index 8ac0a374a6..c80099cc75 100644 --- a/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/lib/Analysis/MemoryDependenceAnalysis.cpp @@ -1262,7 +1262,9 @@ void MemoryDependenceAnalysis::removeInstruction(Instruction *RemInst) { 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. |