aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-06 21:02:04 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-06 21:02:04 +0000
commit0cde8eb9e25e91928a12357ef6d742b34c8ad001 (patch)
treea7844989cb13c09de8be09153b8645afcaafaf3f /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentc807fa5687931184c04c7aca2cacde7de51559a3 (diff)
downloadllvm-0cde8eb9e25e91928a12357ef6d742b34c8ad001.zip
llvm-0cde8eb9e25e91928a12357ef6d742b34c8ad001.tar.gz
llvm-0cde8eb9e25e91928a12357ef6d742b34c8ad001.tar.bz2
Get allocation orders from RegisterClassInfo when possible.
Only target-dependent hints require callbacks. The RCI allocation order has CSR aliases last according to their order of appearance in the getCalleeSavedRegs list. This can depend on the calling convention. This way, AllocationOrder::next doesn't have to check for reserved registers, and CSRs are always allocated last, even with weird calling conventions. llvm-svn: 132690
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions