Remove a dead assertion.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 8 Aug 2007 01:00:21 +0000 (01:00 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 8 Aug 2007 01:00:21 +0000 (01:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40914 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveInterval.cpp

index 1aa02f00701f4e4e543608a6ac792a293488f9aa..a11a8f5e44af428d5b31413ff899b35163d6392f 100644 (file)
@@ -300,7 +300,6 @@ void LiveInterval::join(LiveInterval &Other, int *LHSValNoAssignments,
   // 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;