diff options
| author | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2002-01-08 16:31:28 +0000 |
|---|---|---|
| committer | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2002-01-08 16:31:28 +0000 |
| commit | f9dbd3926f659193c9404c578da22c683b0a8a5c (patch) | |
| tree | a5fa7454dfaa5775374204f7a298833e3d5af4ae | |
| parent | bc28455806e900a7ced16a0e1013cd7fae5579b6 (diff) | |
| download | bcm5719-llvm-f9dbd3926f659193c9404c578da22c683b0a8a5c.tar.gz bcm5719-llvm-f9dbd3926f659193c9404c578da22c683b0a8a5c.zip | |
*** empty log message ***
llvm-svn: 1501
| -rw-r--r-- | llvm/docs/RegisterAllocatorInfo.txt | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/llvm/docs/RegisterAllocatorInfo.txt b/llvm/docs/RegisterAllocatorInfo.txt index 58a54505c16..446ffa1efad 100644 --- a/llvm/docs/RegisterAllocatorInfo.txt +++ b/llvm/docs/RegisterAllocatorInfo.txt @@ -173,10 +173,25 @@ allocation (e.g., caller saving code) 7. Furture work ---------------- +=============== If it is necessary to port the register allocator to another architecture than Sparc, only the target specific code in ../lib/Target/Sparc needs to be rewritten. Methods defined in class MachineRegInfo must be provided for the new architecure. -using ReservedColorList in RegClass
\ No newline at end of file +7.1 Using ReservedColorList in RegClass +---------------------------------------- +The register allocator allows reserving a set of registers - i.e. the reserved +registers are not used by the register allocator. Currently, there are no +reserved registers. It it is necessary to make some registers unavailable to +a particular method, this feature will become handy. To do that, the reserved +register list must be passed to the register allocator. See PhyRegAlloc.cpp + + +7.2 %g registers on Sparc +------------------------- +Currently, %g registers are not allocated on Sparc. If it is necessary to +allocate these %g registers, the enumeration of registers in SparcIntRegClass +in SparcRegClassInfo.h must be changed. %g registers can be easily added as +volatile registers just by moving them above in the eneumeration - see +SparcRegClassInfo.h |

