LLVM backend for 6502
Go to file
Evan Cheng 1ad0e8b576 Canonicalize -1 - x to ~x.
Instcombine does this but apparently there are situations where this pattern will escape the optimizer and / or created by isel. Here is a case that's seen in JavaScriptCore:
  %t1 = sub i32 0, %a
  %t2 = add i32 %t1, -1
The dag combiner pattern: ((c1-A)+c2) -> (c1+c2)-A
will fold it to -1 - %a.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93773 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-18 21:38:44 +00:00
autoconf Proper deduce z/System LLVM target from target triple when 2010-01-05 20:45:13 +00:00
bindings Fix bug 5992: O'Caml's llvm_create_module was treating the context as a string. 2010-01-15 23:49:16 +00:00
cmake Update CMake LibDeps 2010-01-04 23:17:24 +00:00
docs add a thing to investigate. 2010-01-16 21:25:13 +00:00
examples fix PR5649 by making fib use the JIT instead of the interpreter, patch by Perry Lorier! 2009-12-01 01:56:27 +00:00
include Make findDbgDeclare/findDbgGlobalDeclare local static functions; avoid Elts array 2010-01-18 20:42:09 +00:00
lib Canonicalize -1 - x to ~x. 2010-01-18 21:38:44 +00:00
projects Don't try to build compiler-rt if it happens to be checked out into projects/ 2010-01-18 17:52:28 +00:00
runtime remove the random sampling framework, which is not maintained anymore. 2010-01-02 20:07:03 +00:00
test Canonicalize -1 - x to ~x. 2010-01-18 21:38:44 +00:00
tools now that mangler is in libtarget, it can use MCAsmInfo instead of clients 2010-01-17 18:22:35 +00:00
unittests NamedMDNode is a collection MDNodes. 2010-01-05 20:41:31 +00:00
utils update mkpatch, patch by Garrison Venn! 2010-01-18 21:09:05 +00:00
website Prepare for "core" website. 2007-08-03 05:43:35 +00:00
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 Fix CMake build for InstCombine changes 2010-01-04 21:58:55 +00:00
configure Regenerate 2010-01-05 20:45:43 +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 * llvm.spec.in: update blurb 2007-07-13 09:48:29 +00:00
Makefile Update install-clang target for clang-cc removal. 2009-12-12 21:17:54 +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 Provide magic define on mingw to not generate inline variants of ctyper functions. 2010-01-16 14:06:58 +00:00
ModuleInfo.txt Patch to build llvm with srcdir != objdir from 2009-01-23 08:42:38 +00:00
README.txt First test commit 2009-10-05 22:29:11 +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.