Moderate head scratching reveals that this conditional is not needed. If

i->start == j->start, then certainly i->end > j->start.

llvm-svn: 17943
This commit is contained in:
Chris Lattner 2004-11-18 05:19:02 +00:00
parent 51f6635e42
commit 6e0c3f44ba
1 changed files with 0 additions and 4 deletions

View File

@ -83,14 +83,10 @@ bool LiveInterval::overlapsFrom(const LiveInterval& other,
}
while (i != ie && j != je) {
if (i->start == j->start)
return true;
if (i->start > j->start) {
std::swap(i, j);
std::swap(ie, je);
}
assert(i->start < j->start);
if (i->end > j->start)
return true;