aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-08-08 01:00:21 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-08-08 01:00:21 +0000
commit51cbf3c980e921a2950766282dfd6d9b2288eadd (patch)
tree6c3abaf8295766a99cd53de25c6ff82b291e73f5 /lib
parenta8d94f1315f722de056af03763664b77a5baac26 (diff)
downloadexternal_llvm-51cbf3c980e921a2950766282dfd6d9b2288eadd.zip
external_llvm-51cbf3c980e921a2950766282dfd6d9b2288eadd.tar.gz
external_llvm-51cbf3c980e921a2950766282dfd6d9b2288eadd.tar.bz2
Remove a dead assertion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40914 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/LiveInterval.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp
index 1aa02f0..a11a8f5 100644
--- a/lib/CodeGen/LiveInterval.cpp
+++ b/lib/CodeGen/LiveInterval.cpp
@@ -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;