[llvm-commits] [llvm] r40914 - /llvm/trunk/lib/CodeGen/LiveInterval.cpp

Evan Cheng evan.cheng at apple.com
Tue Aug 7 18:00:21 PDT 2007


Author: evancheng
Date: Tue Aug  7 20:00:21 2007
New Revision: 40914

URL: http://llvm.org/viewvc/llvm-project?rev=40914&view=rev
Log:
Remove a dead assertion.

Modified:
    llvm/trunk/lib/CodeGen/LiveInterval.cpp

Modified: llvm/trunk/lib/CodeGen/LiveInterval.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveInterval.cpp?rev=40914&r1=40913&r2=40914&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/LiveInterval.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveInterval.cpp Tue Aug  7 20:00:21 2007
@@ -300,7 +300,6 @@
   // we want to avoid the interval scan if not.
   bool MustMapCurValNos = false;
   for (unsigned i = 0, e = getNumValNums(); i != e; ++i) {
-    assert(ValueNumberInfo[i].def != ~2U);
     if (ValueNumberInfo[i].def == ~1U) continue;  // tombstone value #
     if (i != (unsigned)LHSValNoAssignments[i]) {
       MustMapCurValNos = true;





More information about the llvm-commits mailing list