LLVM backend for 6502
Go to file
Dale Johannesen c12da8d30a When save/restoring CR at prolog/epilog, in a large
stack frame, the prolog/epilog code was using the same
register for the copy of CR and the address of the save slot.  Oops.
This is fixed here for Darwin, sort of, by reserving R2 for this case.
A better way would be to do the store before the decrement of SP,
which is safe on Darwin due to the red zone.

SVR4 probably has the same problem, but I don't know how to fix it;
there is no red zone and R2 is already used for something else.
I'm going to leave it to someone interested in that target.

Better still would be to rewrite the CR-saving code completely;
spilling each CR subregister individually is horrible code.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96015 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-12 21:35:34 +00:00
autoconf Make --disable-libffi work on systems with libffi installed. Also 2010-02-09 23:03:44 +00:00
bindings fix llvm_build_struct_gep for PR6167, patch by 2010-02-09 01:39:46 +00:00
cmake Update CMake LibDeps 2010-01-22 18:14:14 +00:00
docs Add support for a union type in LLVM IR. Patch by Talin! 2010-02-12 20:49:41 +00:00
examples Make Kaleidoscope not link against the interpreter, since that didn't 2010-02-11 19:15:20 +00:00
include Add support for a union type in LLVM IR. Patch by Talin! 2010-02-12 20:49:41 +00:00
lib When save/restoring CR at prolog/epilog, in a large 2010-02-12 21:35:34 +00:00
projects Oops. 2010-02-09 17:24:21 +00:00
runtime
test When save/restoring CR at prolog/epilog, in a large 2010-02-12 21:35:34 +00:00
tools Add support to llvm-extract for extracting multiple functions and/or 2010-02-10 23:58:53 +00:00
unittests Fix (harmless) memory leak found by memcheck. 2010-02-11 07:16:13 +00:00
utils add a bunch of mod/rm encoding types for fixed mod/rm bytes. 2010-02-12 02:06:33 +00:00
website
Xcode
build-for-llvm-top.sh
CMakeLists.txt CMake: Add MCParser directory. 2010-01-22 02:04:33 +00:00
configure Make --disable-libffi work on systems with libffi installed. Also 2010-02-09 23:03:44 +00:00
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
Makefile
Makefile.common
Makefile.config.in
Makefile.rules Added a custom TableGen backend to support the 2010-01-29 00:21:04 +00:00
ModuleInfo.txt
README.txt test commit. 2010-01-26 19:45:17 +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 HTML documentation provided in docs/index.html for further
assistance with LLVM.