forked from OSchip/llvm-project
When I rewrote this loop per Chris' preference I
changed its behavior. Oops. llvm-svn: 95811
This commit is contained in:
parent
a34e96377e
commit
1ccda7b7c4
|
@ -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_)) {
|
||||
|
|
Loading…
Reference in New Issue