mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
- Rewrite code that update register live interval that's split.
- Create and update spill slot live intervals. - Lots of bug fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58367 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -410,7 +410,7 @@ void RALinScan::linearScan()
|
||||
for (LiveInterval::Ranges::const_iterator I = cur.begin(), E = cur.end();
|
||||
I != E; ++I) {
|
||||
const LiveRange &LR = *I;
|
||||
if (li_->findLiveInMBBs(LR, LiveInMBBs)) {
|
||||
if (li_->findLiveInMBBs(LR.start, LR.end, LiveInMBBs)) {
|
||||
for (unsigned i = 0, e = LiveInMBBs.size(); i != e; ++i)
|
||||
if (LiveInMBBs[i] != EntryMBB)
|
||||
LiveInMBBs[i]->addLiveIn(Reg);
|
||||
|
Reference in New Issue
Block a user