llvm/lib
Arnold Schwaighofer 9265275a9a Mark the return address stack slot as mutable when moving the return address
during a tail call. A parameter might overwrite this stack slot during the tail
call. 

The sequence during a tail call is:
1.) load return address to temp reg
2.) move parameters (might involve storing to return address stack slot)
3.) store return address to new location from temp reg

If the stack location is marked immutable CodeGen can colocate load (1) with the
store (3).

This fixes bug 6225.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96783 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-22 16:18:09 +00:00
..
Analysis Remove unused variables and parameters. 2010-02-22 04:11:59 +00:00
Archive
AsmParser
Bitcode
CodeGen Fix various doxygen warnings. 2010-02-22 04:10:52 +00:00
CompilerDriver
ExecutionEngine
Linker
MC MC/X86: Add stub AsmBackend. 2010-02-21 21:54:14 +00:00
Support Fix various doxygen warnings. 2010-02-22 04:10:52 +00:00
System
Target Mark the return address stack slot as mutable when moving the return address 2010-02-22 16:18:09 +00:00
Transforms Remove unused variables and parameters. 2010-02-22 04:11:59 +00:00
VMCore
Makefile