llvm-6502/lib
Jakob Stoklund Olesen 0f9d07fb25 Enable ARM base pointer when calling functions with large arguments.
When an outgoing call takes more than 2k of arguments on the stack, we
don't allocate that call frame in the prolog, but adjust the stack
pointer immediately before the call instead.

This causes problems with the emergency spill slot because PEI can't
track stack pointer adjustments on the second pass, and if the outgoing
arguments are too big, SP can't be used to reach the emergency spill
slot at all.

Work around these problems by ensuring there is a base or frame pointer
that can be used to access the emergency spill slot.

<rdar://problem/10917166>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151604 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-28 01:15:01 +00:00
..
Analysis Duncan pointed out that if the alignment isn't explicitly specified, it defaults to the ABI alignment. Given that, make this code a bit more aggressive in such cases. 2012-02-27 23:16:46 +00:00
Archive Avoid using an invalidated iterator. 2012-01-23 05:07:16 +00:00
AsmParser Convert assert(0) to llvm_unreachable 2012-02-07 05:05:23 +00:00
Bitcode Enable streaming of bitcode 2012-02-06 22:30:29 +00:00
CodeGen Fix 80-column violation. 2012-02-28 00:23:01 +00:00
DebugInfo More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
ExecutionEngine EE/Interpreter/ExternalFunctions.cpp: Staticize lle_X_() entries. They can be mapped in FuncNames[] at the initialization. 2012-02-24 00:20:08 +00:00
Linker Add back removed code. It still causes LLVM to miscompile. But not having it breaks other things. 2012-02-27 23:48:30 +00:00
MC ARM BL/BLX instruction fixups should use relocations. 2012-02-27 21:36:23 +00:00
Object [Object] Add {begin,end}_dynamic_symbols stubs and implementation for ELF. 2012-02-28 00:40:37 +00:00
Support Fix undefined behavior. 2012-02-24 19:06:15 +00:00
TableGen Add Foreach Loop 2012-02-22 16:09:41 +00:00
Target Enable ARM base pointer when calling functions with large arguments. 2012-02-28 01:15:01 +00:00
Transforms Plog a memleak in GlobalOpt. 2012-02-27 12:48:24 +00:00
VMCore Use the DT dominates function in the verifier. 2012-02-26 02:23:37 +00:00
CMakeLists.txt
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile