diff options
author | Tim Northover <tnorthover@apple.com> | 2016-04-11 22:27:40 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2016-04-11 22:27:40 +0000 |
commit | a6dea06fe3d74eb75ab58f14d7b87f068f043de0 (patch) | |
tree | f92addbc968226da13e9eea6cc174817ef1023f2 /llvm/test/CodeGen/Thumb2 | |
parent | b91d38c5feb41dee1005cb295590459cd4363173 (diff) | |
download | bcm5719-llvm-a6dea06fe3d74eb75ab58f14d7b87f068f043de0.tar.gz bcm5719-llvm-a6dea06fe3d74eb75ab58f14d7b87f068f043de0.zip |
ARM: use r7 as the frame-pointer on all MachO targets.
This is better for a few reasons:
+ It matches the other tooling for iOS.
+ It matches EABI in more cases (i.e. Thumb-mode, and in practice we don't
use ARM mode).
+ It leads to infinitesimally smaller code (0.2%, yay!).
rdar://25369506
llvm-svn: 266003
Diffstat (limited to 'llvm/test/CodeGen/Thumb2')
-rw-r--r-- | llvm/test/CodeGen/Thumb2/emit-unwinding.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Thumb2/emit-unwinding.ll b/llvm/test/CodeGen/Thumb2/emit-unwinding.ll index 1f1ea1b48af..b77bb9e6b13 100644 --- a/llvm/test/CodeGen/Thumb2/emit-unwinding.ll +++ b/llvm/test/CodeGen/Thumb2/emit-unwinding.ll @@ -1,6 +1,6 @@ ; RUN: llc -mtriple thumbv7em-apple-unknown-eabi-macho %s -o - -O0 | FileCheck %s -; CHECK: add.w r11, sp, #{{[1-9]+}} +; CHECK: add r7, sp, #{{[1-9]+}} define void @foo1() { call void asm sideeffect "", "~{r4}"() |