LLVM backend for 6502
Go to file
Andrea Di Biagio 592d439efe [X86] Avoid emitting unnecessary test instructions.
This patch teaches the backend how to check for the 'NoSignedWrap' flag on
binary operations to improve the emission of 'test' instructions.

If the result of a binary operation is known not to overflow we know that
resetting the Overflow flag is unnecessary and so we can avoid emitting
the test instruction.

Patch by Marcello Maggioni.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210468 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-09 12:34:50 +00:00
autoconf
bindings [OCaml] Commit missing parts of r210395 2014-06-07 15:53:28 +00:00
cmake
docs [docs] Fix typo, align comments, fix syntax highlighting 2014-06-09 10:12:29 +00:00
examples
include [DAG] Expose NoSignedWrap, NoUnsignedWrap and Exact flags to SelectionDAG. 2014-06-09 12:32:53 +00:00
lib [X86] Avoid emitting unnecessary test instructions. 2014-06-09 12:34:50 +00:00
projects
test [X86] Avoid emitting unnecessary test instructions. 2014-06-09 12:34:50 +00:00
tools tools: add a high level explanation for WoA EH data 2014-06-07 19:23:07 +00:00
unittests [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
utils [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt
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.