llvm-6502/lib
Bill Schmidt ded53bf4dd PPC32: Fix stack collision between FP and CR save areas.
The changes to CR spill handling missed a case for 32-bit PowerPC.
The code in PPCFrameLowering::processFunctionBeforeFrameFinalized()
checks whether CR spill has occurred using a flag in the function
info.  This flag is only set by storeRegToStackSlot and
loadRegFromStackSlot.  spillCalleeSavedRegisters does not call
storeRegToStackSlot, but instead produces MI directly.  Thus we don't
see the CR is spilled when assigning frame offsets, and the CR spill
ends up colliding with some other location (generally the FP slot).

This patch sets the flag in spillCalleeSavedRegisters for PPC32 so
that the CR spill is properly detected and gets its own slot in the
stack frame.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181800 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-14 16:08:32 +00:00
..
Analysis
Archive
AsmParser
Bitcode Micro-optimization: don't shift an entire bitcode record over to get the code. 2013-05-10 22:17:10 +00:00
CodeGen StackColoring: don't clear an instruction's mem operand if the underlying 2013-05-14 01:42:44 +00:00
DebugInfo
ExecutionEngine Remove dead code. 2013-05-10 23:34:51 +00:00
IR PR14492: Debug Info: Support for values of non-integer non-type template parameters. 2013-05-10 21:52:07 +00:00
IRReader Measure time that IR parsing took as part of the -time-passes measurement. 2013-04-03 15:33:45 +00:00
Linker
MC Remove the MachineMove class. 2013-05-13 01:16:13 +00:00
Object
Option
Support Declare __clear_cache. 2013-05-14 13:02:37 +00:00
TableGen
Target PPC32: Fix stack collision between FP and CR save areas. 2013-05-14 16:08:32 +00:00
Transforms Removed trailing whitespace. 2013-05-14 06:40:10 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile