diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-09-20 19:32:20 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-09-20 19:32:20 +0000 |
commit | 1dc335a79f5e899aacc6710dfe08ef20abb6a6c0 (patch) | |
tree | 2a952221adb0cbe9554337d02f93d4e0cb3712ce /lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 43779dcfef7f4e921c6fc12bb5394a1b2efcd81d (diff) |
Simplify ARM callee-saved register handling by removing the distinction
between the high and low registers for prologue/epilogue code. This was
a Darwin-only thing that wasn't providing a realistic benefit anymore.
Combining the save areas simplifies the compiler code and results in better
ARM/Thumb2 codegen.
For example, previously we would generate code like:
push {r4, r5, r6, r7, lr}
add r7, sp, #12
stmdb sp!, {r8, r10, r11}
With this change, we combine the register saves and generate:
push {r4, r5, r6, r7, r8, r10, r11, lr}
add r7, sp, #12
rdar://8445635
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114340 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions