mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
When I rewrote this loop per Chris' preference I
changed its behavior. Oops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95811 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3e7a369f2
commit
e21765d1c8
@ -613,6 +613,9 @@ void LiveIntervals::handleLiveInRegister(MachineBasicBlock *MBB,
|
|||||||
while (mi != E) {
|
while (mi != E) {
|
||||||
if (mi->isDebugValue()) {
|
if (mi->isDebugValue()) {
|
||||||
++mi;
|
++mi;
|
||||||
|
if (mi != E && !mi->isDebugValue()) {
|
||||||
|
baseIndex = indexes_->getNextNonNullIndex(baseIndex);
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (mi->killsRegister(interval.reg, tri_)) {
|
if (mi->killsRegister(interval.reg, tri_)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user