diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-01-03 22:53:22 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-01-03 22:53:22 +0000 |
commit | 65089fc6c73211e7d76307efe02c42b6f83a0dc2 (patch) | |
tree | 308aa11202452f01146b281dbb3b9ae141d68a81 /llvm/lib/Transforms | |
parent | 752a595655d3dfcdbffb44b4d6a94275c550e7fe (diff) | |
download | bcm5719-llvm-65089fc6c73211e7d76307efe02c42b6f83a0dc2.tar.gz bcm5719-llvm-65089fc6c73211e7d76307efe02c42b6f83a0dc2.zip |
Use pushq / popq instead of subq $8, %rsp / addq $8, %rsp to adjust stack in
prologue and epilogue if the adjustment is 8. Similarly, use pushl / popl if
the adjustment is 4 in 32-bit mode.
In the epilogue, takes care to pop to a caller-saved register that's not live
at the exit (either return or tailcall instruction).
rdar://8771137
llvm-svn: 122783
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions