diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-05-01 00:52:08 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-05-01 00:52:08 +0000 |
commit | 77c545e6b8564354b7f73b9dece5b00d16b6f6e2 (patch) | |
tree | 6f8fff4da8648e17fdffa8736f20128eb8fd6a26 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 366feaed9120a24deff17fcc6b1ab2b27dc0f419 (diff) | |
download | bcm5719-llvm-77c545e6b8564354b7f73b9dece5b00d16b6f6e2.tar.gz bcm5719-llvm-77c545e6b8564354b7f73b9dece5b00d16b6f6e2.zip |
Under normal circumstances, when a frame pointer is not required, we reserve
argument space for call sites in the function immediately on entry to the
current function. This eliminates the need for add/sub sp brackets around call
sites. However, this is not always a good idea. If the "call frame" is large and
the target load / store instructions have small immediate field to encode sp
offset, this can cause poor codegen. In the worst case, this can make it
impossible to scavenge a register if the reserved spill slot is pushed too far
apart from sp / fp.
llvm-svn: 36607
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions