aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CompilerDriver/Main.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-07-09 06:53:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-07-09 06:53:48 +0000
commit7452c968e440dbf8971011e7852e4bb61bb31c7b (patch)
treeba63862d29ca61c892ffc9510762e498c0fc0b32 /llvm/lib/CompilerDriver/Main.cpp
parent27e32c092e24afc70ed1382471f7e2cfa3c1ac8f (diff)
downloadllvm-7452c968e440dbf8971011e7852e4bb61bb31c7b.zip
llvm-7452c968e440dbf8971011e7852e4bb61bb31c7b.tar.gz
llvm-7452c968e440dbf8971011e7852e4bb61bb31c7b.tar.bz2
Targets sometimes assign fixed stack object to spill certain callee-saved
registers based on dynamic conditions. For example, X86 EBP/RBP, when used as frame register has to be spilled in the first fixed object. It should inform PEI this so it doesn't get allocated another stack object. Also, it should not be spilled as other callee-saved registers but rather its spilling and restoring are being handled by emitPrologue and emitEpilogue. Avoid spilling it twice. llvm-svn: 75116
Diffstat (limited to 'llvm/lib/CompilerDriver/Main.cpp')
0 files changed, 0 insertions, 0 deletions