mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix a bug introduced by my previous patch. With this change, SPEC is now clean with prealloc splitting enabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59544 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cbad42cfd1
commit
5a92d4e657
@ -233,7 +233,7 @@ PreAllocSplitting::findRestorePoint(MachineBasicBlock *MBB, MachineInstr *MI,
|
||||
unsigned &RestoreIndex) {
|
||||
// FIXME: Allow spill to be inserted to the beginning of the mbb. Update mbb
|
||||
// begin index accordingly.
|
||||
MachineBasicBlock::iterator Pt = MBB->getFirstTerminator();
|
||||
MachineBasicBlock::iterator Pt = MBB->end();
|
||||
unsigned EndIdx = LIs->getMBBEndIdx(MBB);
|
||||
|
||||
// Go bottom up if RefsInMBB is empty and the end of the mbb isn't beyond
|
||||
|
Loading…
Reference in New Issue
Block a user