mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
The fast-path still needs to set kill markers and spill/restore points as appropriate.
With this patch, all of MultiSource/Applications and all of SPEC2000/2006 pass with the SimpleSpiller and this fast-path enabled. llvm-svn: 55000
This commit is contained in:
parent
15b76de064
commit
b110ebd37d
@ -1666,12 +1666,15 @@ addIntervalsForSpillsFast(const LiveInterval &li,
|
||||
VNMap[MO.getParent()]);
|
||||
DOUT << " +" << LR;
|
||||
nI.addRange(LR);
|
||||
vrm.addRestorePoint(NewVReg, MO.getParent());
|
||||
MO.setIsKill(true);
|
||||
}
|
||||
if (HasDef) {
|
||||
LiveRange LR(getDefIndex(index), getStoreIndex(index),
|
||||
VNMap[MO.getParent()]);
|
||||
DOUT << " +" << LR;
|
||||
nI.addRange(LR);
|
||||
vrm.addSpillPoint(NewVReg, true, MO.getParent());
|
||||
}
|
||||
|
||||
if (newInt)
|
||||
|
Loading…
Reference in New Issue
Block a user