LLVM backend for 6502
Go to file
Chris Lattner 6e7ba45460 This is a bulk commit that implements the following primary improvements:
* We can now fold cast instructions into select instructions that
    have at least one constant operand.
  * We now optimize expressions more aggressively based on bits that are
    known to be zero.  These optimizations occur a lot in code that uses
    bitfields even in simple ways.
  * We now turn more cast-cast sequences into AND instructions.  Before we
    would only do this if it if all types were unsigned.  Now only the
    middle type needs to be unsigned (guaranteeing a zero extend).
  * We transform sign extensions into zero extensions in several cases.

This corresponds to these test/Regression/Transforms/InstCombine testcases:
  2004-11-22-Missed-and-fold.ll
  and.ll: test28-29
  cast.ll: test21-24
  and-or-and.ll
  cast-cast-to-and.ll
  zeroext-and-reduce.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19220 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-01 16:22:27 +00:00
autoconf For PR351: 2004-12-31 22:54:28 +00:00
docs Describe both objdir==srcdir and objdir!=srcdir methods of building LLVM 2004-12-31 19:48:59 +00:00
examples Use LLVMLIBS=JIT to get JIT libraries 2004-11-29 07:17:18 +00:00
include/llvm Add a useful accessor 2005-01-01 15:58:55 +00:00
lib This is a bulk commit that implements the following primary improvements: 2005-01-01 16:22:27 +00:00
projects Update to autoconf 2.59 standards. 2005-01-01 09:26:55 +00:00
runtime For PR432: 2004-12-22 05:57:33 +00:00
test New testcases that we should combine. 2005-01-01 16:14:46 +00:00
tools Correct the conditional test for non-portable tools so that it will 2004-12-31 22:56:14 +00:00
utils * Don't include weak definitions as a definition 2004-12-30 23:13:12 +00:00
win32 Bring VS projects up to date with respect to recent changes 2004-12-27 16:49:34 +00:00
.cvsignore Ignore the autom4te.cache directoy. 2004-12-24 15:11:23 +00:00
configure For PR351: 2004-12-31 22:54:28 +00:00
CREDITS.TXT Add MMC 2004-11-18 21:04:21 +00:00
LICENSE.TXT Add bzip2 2004-11-27 19:20:23 +00:00
llvm.spec Updated for 1.3. 2004-08-16 15:17:40 +00:00
llvm.spec.in Updated for 1.3. 2004-08-16 15:17:40 +00:00
Makefile Remove the check target. Its now in Makefile.rules 2004-12-06 05:35:00 +00:00
Makefile.common No really, this is LLVM! 2004-10-30 00:57:52 +00:00
Makefile.config.in For PR351: 2004-12-31 22:54:28 +00:00
Makefile.rules Correct the name of the variable for the LLVM examples directory so that 2004-12-28 07:59:22 +00:00
README.txt Make the text of this file a little more useful. 2004-09-02 22:49:27 +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.