mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Privatize an unused part of the LiveIntervalUnion::Query interface.
No clients are iterating over interference overlaps. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137350 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -498,8 +498,9 @@ unsigned RABasic::selectOrSplit(LiveInterval &VirtReg,
|
||||
// Found an available register.
|
||||
return PhysReg;
|
||||
}
|
||||
Queries[interfReg].collectInterferingVRegs(1);
|
||||
LiveInterval *interferingVirtReg =
|
||||
Queries[interfReg].firstInterference().liveUnionPos().value();
|
||||
Queries[interfReg].interferingVRegs().front();
|
||||
|
||||
// The current VirtReg must either be spillable, or one of its interferences
|
||||
// must have less spill weight.
|
||||
|
Reference in New Issue
Block a user