LLVM backend for 6502
Go to file
Bill Wendling 7d9f2b93a3 This test case:
long test(long x) { return (x & 123124) | 3; }

Currently compiles to:

_test:
        orl     $3, %edi
        movq    %rdi, %rax
        andq    $123127, %rax
        ret

This is because instruction and DAG combiners canonicalize

  (or (and x, C), D) -> (and (or, D), (C | D))

However, this is only profitable if (C & D) != 0. It gets in the way of the
3-addressification because the input bits are known to be zero.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97616 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-03 00:35:56 +00:00
autoconf Move the docsdir to /usr/share/doc/llvm to match other projects. 2010-03-02 05:17:21 +00:00
bindings Use the ocaml tag 0 since we are just returning an option value. 2010-03-02 23:59:08 +00:00
cmake Update CMake LibDeps 2010-01-22 18:14:14 +00:00
docs attributes are not part of types anymore, patch by James Woodyatt! 2010-03-02 06:36:51 +00:00
examples Roll back r96959 again. 2010-02-23 20:53:37 +00:00
include Add Module functions in place of module providers. 2010-03-02 23:58:54 +00:00
lib This test case: 2010-03-03 00:35:56 +00:00
projects Testing subversion commit access 2010-02-23 15:11:17 +00:00
runtime Switch .bc/.ll Makefile rules to use LLVM{CC,CXX} instead of LLVMG{CC,XX} 2010-02-23 10:28:06 +00:00
test This test case: 2010-03-03 00:35:56 +00:00
tools Make llc opt into the addPassesToEmitFile verify pass. 2010-03-01 21:45:21 +00:00
unittests Spelling fixes. 2010-03-01 17:51:02 +00:00
utils the sorting predicate should work for comparing an element 2010-03-02 18:15:02 +00:00
website
build-for-llvm-top.sh
CMakeLists.txt CMake: Add MCParser directory. 2010-01-22 02:04:33 +00:00
configure Move the docsdir to /usr/share/doc/llvm to match other projects. 2010-03-02 05:17:21 +00:00
CREDITS.TXT Adding the MicroBlaze backend. 2010-02-23 19:15:24 +00:00
LICENSE.TXT
llvm.spec.in
Makefile Try r96559 for the third time. This time the shared library is only built if 2010-02-25 06:34:33 +00:00
Makefile.common
Makefile.config.in Try r96559 for the third time. This time the shared library is only built if 2010-02-25 06:34:33 +00:00
Makefile.rules Try r96559 for the third time. This time the shared library is only built if 2010-02-25 06:34:33 +00:00
ModuleInfo.txt
README.txt Give packagers some advice about how to build LLVM so it's useful to 2010-02-26 00:54:42 +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.

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