mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-30 22:37:28 +00:00
When a physreg is live-in and live through a basic block, make sure its live
range covers the entire block. The live range can't be terminated at a random instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d6eb5a018
commit
ec7e4fff96
@ -638,7 +638,7 @@ void LiveIntervals::handleLiveInRegister(MachineBasicBlock *MBB,
|
|||||||
end = MIIdx.getStoreIndex();
|
end = MIIdx.getStoreIndex();
|
||||||
} else {
|
} else {
|
||||||
DEBUG(dbgs() << " live through");
|
DEBUG(dbgs() << " live through");
|
||||||
end = baseIndex;
|
end = getMBBEndIdx(MBB);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user