mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Prevented reg0 from being added to MBB live-in set, which was causing issues
for PostRAScheduler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71991 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
de67a51b66
commit
b0e519f2bf
@ -765,6 +765,11 @@ void PBQPRegAlloc::finalizeAlloc() const {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Ignore unallocated vregs:
|
||||
if (reg == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Iterate over the ranges of the current interval...
|
||||
for (LRIterator lrItr = li->begin(), lrEnd = li->end();
|
||||
lrItr != lrEnd; ++lrItr) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user