mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
When the register allocator runs out of registers, spill a physical register around the def's and use's of the interval being allocated to make it possible for the interval to target a register and spill it right away and restore a register for uses. This likely generates terrible code but is before than aborting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48218 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -321,9 +321,10 @@ public:
|
||||
}
|
||||
|
||||
/// getPhysicalRegisterRegClass - Returns the Register Class of a physical
|
||||
/// register of the given type.
|
||||
const TargetRegisterClass *getPhysicalRegisterRegClass(MVT::ValueType VT,
|
||||
unsigned Reg) const;
|
||||
/// register of the given type. If type is MVT::Other, then just return any
|
||||
/// register class the register belongs to.
|
||||
const TargetRegisterClass *getPhysicalRegisterRegClass(unsigned Reg,
|
||||
MVT::ValueType VT = MVT::Other) const;
|
||||
|
||||
/// getAllocatableSet - Returns a bitset indexed by register number
|
||||
/// indicating if a register is allocatable or not. If a register class is
|
||||
|
Reference in New Issue
Block a user