LLVM backend for 6502
Go to file
David Majnemer 312646b71e InstSimplify: Correct sdiv x / -1
Determining the bounds of x/ -1 would start off with us dividing it by
INT_MIN.  Suffice to say, this would not work very well.

Instead, handle it upfront by checking for -1 and mapping it to the
range: [INT_MIN + 1, INT_MAX.  This means that the result of our
division can be any value other than INT_MIN.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212981 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-14 20:38:45 +00:00
autoconf
bindings [OCaml] Documentation improvements. 2014-07-02 22:17:20 +00:00
cmake [CMake][Win32.DLL] Let llvm_add_library(SHARED) link dependent libraries as PRIVATE. 2014-07-14 12:26:15 +00:00
docs fixed link 2014-07-14 19:52:36 +00:00
examples [CMake] Update libdeps. 2014-07-14 05:01:53 +00:00
include Add CreatePointerBitCastOrAddrSpaceCast to IRBuilder and co. 2014-07-14 17:24:35 +00:00
lib InstSimplify: Correct sdiv x / -1 2014-07-14 20:38:45 +00:00
projects
test InstSimplify: Correct sdiv x / -1 2014-07-14 20:38:45 +00:00
tools llvm-objdump: Handle BSS sections larger than the object file 2014-07-14 16:20:14 +00:00
unittests [CMake] Update libdeps. 2014-07-14 05:01:53 +00:00
utils Option: Propagate flags from groups to options in each group 2014-07-12 00:18:58 +00:00
.arcconfig
.clang-format
.gitignore Add Polly to the ignored trees. 2014-06-25 13:13:36 +00:00
CMakeLists.txt [CMake] Introduce LLVM_SHLIB_OUTPUT_INTDIR. 2014-07-04 04:23:26 +00:00
CODE_OWNERS.TXT
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in
Makefile.rules
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 documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

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