LLVM backend for 6502
Go to file
Dan Gohman 8ca83b4111 Remove the folding rule
getelementptr (i8* inttoptr (i64 1 to i8*), i32 -1) 
  to
  inttoptr (i64 0 to i8*)
from the VMCore constant folder. It didn't handle sign-extension properly
in the case where the source integer is smaller than a pointer size. And,
it relied on an assumption about sizeof(i8).

The Analysis constant folder still folds these kinds of things; it has
access to TargetData, so it can do them right.

Add a testcase which tests that the VMCore constant folder doesn't
miscompile this, and that the Analysis folder does fold it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94750 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-28 18:08:26 +00:00
autoconf Remove unneeded checks from configure.ac. 2010-01-26 08:48:04 +00:00
bindings This corrects an error in the type of the Llvm.dispose_context function. 2010-01-24 00:25:09 +00:00
cmake Update CMake LibDeps 2010-01-22 18:14:14 +00:00
docs Update of 94055 to track the IR level call site information via an intrinsic. 2010-01-28 01:45:32 +00:00
examples Kill ModuleProvider and ghost linkage by inverting the relationship between 2010-01-27 20:34:15 +00:00
include Add llvm::Program::ChangeStderrToBinary(). 2010-01-28 06:42:08 +00:00
lib Remove the folding rule 2010-01-28 18:08:26 +00:00
projects Fix autoconf llvm srcdir location for generic projects. 2010-01-25 04:10:28 +00:00
runtime remove the random sampling framework, which is not maintained anymore. 2010-01-02 20:07:03 +00:00
test Remove the folding rule 2010-01-28 18:08:26 +00:00
tools Replace strcpy with memcpy when we have the length around anyway. 2010-01-28 18:04:38 +00:00
unittests Kill ModuleProvider and ghost linkage by inverting the relationship between 2010-01-27 20:34:15 +00:00
utils Escape double quotes in 'help'. 2010-01-26 14:55:04 +00:00
website
Xcode Remove the IA-64 backend. 2009-07-24 00:30:09 +00:00
build-for-llvm-top.sh Patch to build llvm with srcdir != objdir from 2009-01-23 08:42:38 +00:00
CMakeLists.txt CMake: Add MCParser directory. 2010-01-22 02:04:33 +00:00
configure Regenerate configure. 2010-01-26 08:50:50 +00:00
CREDITS.TXT Add myself to the blame list. 2009-08-20 15:20:15 +00:00
LICENSE.TXT 2010 is upon us. 2010-01-09 18:40:31 +00:00
llvm.spec.in
Makefile For 'install-clang' target, also traverse tools/clang/lib/Runtime. 2010-01-20 00:43:07 +00:00
Makefile.common Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Makefile.config.in Fix typos. Thanks to John Tytgat for noticing it! 2009-12-07 00:27:35 +00:00
Makefile.rules make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
ModuleInfo.txt Patch to build llvm with srcdir != objdir from 2009-01-23 08:42:38 +00:00
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.