diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-06-06 21:02:04 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-06-06 21:02:04 +0000 |
commit | a46a100945c839a9b9baa6da0dcafafcd42d1085 (patch) | |
tree | 00366500048055ed6bb4ce54251f171eb2a74717 /tools/opt/opt.cpp | |
parent | fc3623bc50aa9e2a56736775edbd3ae919565351 (diff) | |
download | llvm-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