[llvm-commits] [llvm] r61349 - /llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Bill Wendling
isanbard at gmail.com
Mon Dec 22 13:57:30 PST 2008
Author: void
Date: Mon Dec 22 15:57:30 2008
New Revision: 61349
URL: http://llvm.org/viewvc/llvm-project?rev=61349&view=rev
Log:
Verify removed in a few more places.
Modified:
llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/GVN.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/GVN.cpp?rev=61349&r1=61348&r2=61349&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/GVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/GVN.cpp Mon Dec 22 15:57:30 2008
@@ -1461,6 +1461,7 @@
DEBUG(cerr << "GVN removed: " << **I);
MD->removeInstruction(*I);
(*I)->eraseFromParent();
+ DEBUG(verifyRemoved(*I));
}
toErase.clear();
@@ -1611,6 +1612,7 @@
DEBUG(cerr << "GVN PRE removed: " << *CurInst);
MD->removeInstruction(CurInst);
CurInst->eraseFromParent();
+ DEBUG(verifyRemoved(CurInst));
Changed = true;
}
}
More information about the llvm-commits
mailing list