When I rewrote this loop per Chris' preference I

changed its behavior.  Oops.

llvm-svn: 95811
This commit is contained in:
Dale Johannesen 2010-02-10 21:41:41 +00:00
parent a34e96377e
commit 1ccda7b7c4
1 changed files with 3 additions and 0 deletions

View File

@ -613,6 +613,9 @@ void LiveIntervals::handleLiveInRegister(MachineBasicBlock *MBB,
while (mi != E) {
if (mi->isDebugValue()) {
++mi;
if (mi != E && !mi->isDebugValue()) {
baseIndex = indexes_->getNextNonNullIndex(baseIndex);
}
continue;
}
if (mi->killsRegister(interval.reg, tri_)) {