mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
Changed the liveness tracking in the RegisterScavenger
to use register units instead of registers. reviewed by Jakob Stoklund Olesen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -516,8 +516,12 @@ public:
|
||||
///
|
||||
/// That function will return NULL if the virtual registers have incompatible
|
||||
/// constraints.
|
||||
///
|
||||
/// Note that if ToReg is a physical register the function will replace and
|
||||
/// apply sub registers to ToReg in order to obtain a final/proper physical
|
||||
/// register.
|
||||
void replaceRegWith(unsigned FromReg, unsigned ToReg);
|
||||
|
||||
|
||||
/// getVRegDef - Return the machine instr that defines the specified virtual
|
||||
/// register or null if none is found. This assumes that the code is in SSA
|
||||
/// form, so there should only be one definition.
|
||||
|
Reference in New Issue
Block a user