mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
RegAllocGreedy comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187141 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8adae96fd9
commit
bef4c3e069
@ -434,7 +434,8 @@ void RAGreedy::enqueue(LiveInterval *LI) {
|
||||
if (VRM->hasKnownPreference(Reg))
|
||||
Prio |= (1u << 30);
|
||||
}
|
||||
|
||||
// The virtual register number is a tie breaker for same-sized ranges.
|
||||
// Give lower vreg numbers higher priority to assign them first.
|
||||
Queue.push(std::make_pair(Prio, ~Reg));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user