mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
If a split live interval is spilled again, remove the kill marker on its last use.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -64,7 +64,7 @@ VirtRegMap::VirtRegMap(MachineFunction &mf)
|
||||
: TII(*mf.getTarget().getInstrInfo()), MF(mf),
|
||||
Virt2PhysMap(NO_PHYS_REG), Virt2StackSlotMap(NO_STACK_SLOT),
|
||||
Virt2ReMatIdMap(NO_STACK_SLOT), Virt2SplitMap(0),
|
||||
ReMatMap(NULL), ReMatId(MAX_STACK_SLOT+1) {
|
||||
Virt2SplitKillMap(NULL), ReMatMap(NULL), ReMatId(MAX_STACK_SLOT+1) {
|
||||
grow();
|
||||
}
|
||||
|
||||
@@ -74,6 +74,7 @@ void VirtRegMap::grow() {
|
||||
Virt2StackSlotMap.grow(LastVirtReg);
|
||||
Virt2ReMatIdMap.grow(LastVirtReg);
|
||||
Virt2SplitMap.grow(LastVirtReg);
|
||||
Virt2SplitKillMap.grow(LastVirtReg);
|
||||
ReMatMap.grow(LastVirtReg);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user