mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
add FIXME
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106126 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0f800a6eb8
commit
956352eb46
@ -289,6 +289,9 @@ splitLiveRangesAcrossInvokes(SmallVector<InvokeInst*,16> &Invokes) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If we decided we need a spill, do it.
|
// If we decided we need a spill, do it.
|
||||||
|
// FIXME: Spilling this way is overkill, as it forces all uses of
|
||||||
|
// the value to be reloaded from the stack slot, even those that aren't
|
||||||
|
// in the unwind blocks. We should be more selective.
|
||||||
if (NeedsSpill) {
|
if (NeedsSpill) {
|
||||||
++NumSpilled;
|
++NumSpilled;
|
||||||
DemoteRegToStack(*Inst, true);
|
DemoteRegToStack(*Inst, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user