mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 07:58:23 +08:00
RegAllocGreedy comment.
llvm-svn: 187141
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user