mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-01 02:33:44 +00:00
Include snippets in the live stack interval.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127530 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
10a433238f
commit
b1adbd1f67
@ -555,7 +555,9 @@ void InlineSpiller::spill(LiveRangeEdit &edit) {
|
||||
LiveInterval &stacklvr = lss_.getOrCreateInterval(stackSlot_, rc_);
|
||||
if (!stacklvr.hasAtLeastOneValue())
|
||||
stacklvr.getNextValue(SlotIndex(), 0, lss_.getVNInfoAllocator());
|
||||
stacklvr.MergeRangesInAsValue(edit_->getParent(), stacklvr.getValNumInfo(0));
|
||||
for (unsigned i = 0, e = RegsToSpill.size(); i != e; ++i)
|
||||
stacklvr.MergeRangesInAsValue(lis_.getInterval(RegsToSpill[i]),
|
||||
stacklvr.getValNumInfo(0));
|
||||
|
||||
// Spill around uses of all RegsToSpill.
|
||||
for (unsigned i = 0, e = RegsToSpill.size(); i != e; ++i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user