aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AllocationOrder.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-12-10Use AllocationOrder in RegAllocGreedy, fix a bug in the hint calculation.Jakob Stoklund Olesen1-4/+4
llvm-svn: 121584
2010-12-10Add an AllocationOrder class that can iterate over the allocatable physicalJakob Stoklund Olesen1-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