Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify a bunch of isVirtualRegister() and isPhysicalRegister() logic. | Jakob Stoklund Olesen | 2011-01-10 | 1 | -1/+1 |
| | | | | | | | | These functions not longer assert when passed 0, but simply return false instead. No functional change intended. llvm-svn: 123155 | ||||
* | Use AllocationOrder in RegAllocGreedy, fix a bug in the hint calculation. | Jakob Stoklund Olesen | 2010-12-10 | 1 | -4/+4 |
| | | | | llvm-svn: 121584 | ||||
* | Add an AllocationOrder class that can iterate over the allocatable physical | Jakob Stoklund Olesen | 2010-12-10 | 1 | -0/+68 |
registers for a given virtual register. Reserved registers are filtered from the allocation order, and any valid hint is returned as the first suggestion. For target dependent hints, a number of arcane target hooks are invoked. llvm-svn: 121497 |