mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Recalculate the spill weight and allocation hint for virtual registers created
during live range splitting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -25,11 +25,11 @@ namespace llvm {
|
||||
class VirtRegAuxInfo {
|
||||
MachineFunction &mf_;
|
||||
LiveIntervals &lis_;
|
||||
MachineLoopInfo &loops_;
|
||||
const MachineLoopInfo &loops_;
|
||||
DenseMap<unsigned, float> hint_;
|
||||
public:
|
||||
VirtRegAuxInfo(MachineFunction &mf, LiveIntervals &lis,
|
||||
MachineLoopInfo &loops) :
|
||||
const MachineLoopInfo &loops) :
|
||||
mf_(mf), lis_(lis), loops_(loops) {}
|
||||
|
||||
/// CalculateRegClass - recompute the register class for li from its uses.
|
||||
|
Reference in New Issue
Block a user