summaryrefslogtreecommitdiff
path: root/tools/opt/opt.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
commita46a100945c839a9b9baa6da0dcafafcd42d1085 (patch)
tree00366500048055ed6bb4ce54251f171eb2a74717 /tools/opt/opt.cpp
parentfc3623bc50aa9e2a56736775edbd3ae919565351 (diff)
downloadllvm-a46a100945c839a9b9baa6da0dcafafcd42d1085.tar.gz
llvm-a46a100945c839a9b9baa6da0dcafafcd42d1085.tar.bz2
llvm-a46a100945c839a9b9baa6da0dcafafcd42d1085.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
0 files changed, 0 insertions, 0 deletions