LLVM backend for 6502
Go to file
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
autoconf We're in 3.4 land now. 2013-05-07 20:31:28 +00:00
bindings We're in 3.4 land now. 2013-05-07 20:31:28 +00:00
cmake [SystemZ] Add configure bits 2013-05-06 16:22:34 +00:00
docs [SystemZ] Add disassembler support 2013-05-14 10:17:52 +00:00
examples Remove exception handling support from the old JIT. 2013-05-07 20:53:59 +00:00
include Remove the MachineMove class. 2013-05-13 01:16:13 +00:00
lib PPC32: Fix stack collision between FP and CR save areas. 2013-05-14 16:08:32 +00:00
projects [SystemZ] Add to --enable-targets=all 2013-05-06 16:23:07 +00:00
runtime Remove GCDAProfiling.c. This copy is old, the copy in compiler-rt is newer and 2013-03-07 02:03:08 +00:00
test PPC32: Fix stack collision between FP and CR save areas. 2013-05-14 16:08:32 +00:00
tools Remove the MachineMove class. 2013-05-13 01:16:13 +00:00
unittests Get the unittests compiling when building with cmake and the setting 2013-05-14 13:29:16 +00:00
utils Get the unittests compiling when building with cmake and the setting 2013-05-14 13:29:16 +00:00
.arcconfig
.gitignore
CMakeLists.txt Change version to 3.4 in the cmake build too. 2013-05-07 20:44:22 +00:00
CODE_OWNERS.TXT Add myself as SystemZ code owner 2013-05-08 14:41:29 +00:00
configure We're in 3.4 land now. 2013-05-07 20:31:28 +00:00
CREDITS.TXT Test commit. 2013-05-09 12:32:36 +00:00
LICENSE.TXT Add LICENSE.TXT covering contributions made by ARM. 2013-01-07 10:04:49 +00:00
llvm.spec.in
LLVMBuild.txt
Makefile Improved svn repo searching for 'make update' 2013-01-28 03:19:57 +00:00
Makefile.common Makefile.common: Update a description, s/Source/SOURCES/ , according to MakefileGuide.html#control-variables . 2012-12-07 01:43:23 +00:00
Makefile.config.in Add basic zlib support to LLVM. This would allow to use compression/uncompression in selected LLVM tools. 2013-04-23 08:28:39 +00:00
Makefile.rules Remove this hack. We can support this better with function attributes. 2013-05-03 21:53:50 +00:00
README.txt test 2013-04-17 05:34:03 +00:00

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you're writing a package for LLVM, see docs/Packaging.rst for our
suggestions.