aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2019-01-23 10:18:30 +0000
committerDavid Green <david.green@arm.com>2019-01-23 10:18:30 +0000
commit6a858a94250ecf96f849d2b9108ebacc86be98a9 (patch)
treeb2ae4b424b858567e148d264dd2bb13d4f9b3e27 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentfe1991b55eed9a75f8f6c8279fb1ae64aad5aa29 (diff)
downloadllvm-6a858a94250ecf96f849d2b9108ebacc86be98a9.zip
llvm-6a858a94250ecf96f849d2b9108ebacc86be98a9.tar.gz
llvm-6a858a94250ecf96f849d2b9108ebacc86be98a9.tar.bz2
[ARM] Alter the register allocation order for minsize on Thumb2
Currently in Arm code, we allocate LR first, under the assumption that it needs to be saved anyway. Unfortunately this has the disadvantage that it will require any instructions using it to be the longer thumb2 instructions, not the shorter thumb1 ones. This switches the order when we are optimising for minsize, returning to the default order so that more lower registers can be used. It can end up requiring more pushed registers, but on average produces smaller code. Differential Revision: https://reviews.llvm.org/D56008 llvm-svn: 351938
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions