LLVM backend for 6502
Go to file
Evan Cheng d40d03e1bd Teach dag combine to fold the following transformation more aggressively:
(OP (trunc x), (trunc y)) -> (trunc (OP x, y))

Unfortunately this simple change causes dag combine to infinite looping. The problem is the shrink demanded ops optimization tend to canonicalize expressions in the opposite manner. That is badness. This patch disable those optimizations in dag combine but instead it is done as a late pass in sdisel.

This also exposes some deficiencies in dag combine and x86 setcc / brcond lowering. Teach them to look pass ISD::TRUNCATE in various places.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92849 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-06 19:38:29 +00:00
autoconf Proper deduce z/System LLVM target from target triple when 2010-01-05 20:45:13 +00:00
bindings Fix another parallel make race condition. 2009-12-18 20:12:14 +00:00
cmake Update CMake LibDeps 2010-01-04 23:17:24 +00:00
docs NamedMDNode is a collection MDNodes. 2010-01-05 20:41:31 +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 Teach dag combine to fold the following transformation more aggressively: 2010-01-06 19:38:29 +00:00
lib Teach dag combine to fold the following transformation more aggressively: 2010-01-06 19:38:29 +00:00
projects Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
runtime remove the random sampling framework, which is not maintained anymore. 2010-01-02 20:07:03 +00:00
test Teach dag combine to fold the following transformation more aggressively: 2010-01-06 19:38:29 +00:00
tools Enable debug buffering. 2010-01-05 01:30:32 +00:00
unittests NamedMDNode is a collection MDNodes. 2010-01-05 20:41:31 +00:00
utils Partially address a README by having functionattrs consider calls to 2010-01-06 08:45:52 +00:00
website
Xcode
build-for-llvm-top.sh
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
LICENSE.TXT
llvm.spec.in
Makefile Update install-clang target for clang-cc removal. 2009-12-12 21:17:54 +00:00
Makefile.common
Makefile.config.in Fix typos. Thanks to John Tytgat for noticing it! 2009-12-07 00:27:35 +00:00
Makefile.rules Add the rest of the build system logic for optional target disassemblers 2009-11-25 04:46:58 +00:00
ModuleInfo.txt
README.txt

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.