mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
RegAllocGreedy comment.
llvm-svn: 187141
This commit is contained in:
parent
7b0a985247
commit
f3982a902a
@ -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…
x
Reference in New Issue
Block a user