llvm-project/llvm
David Majnemer 2d6c023576 InstSimplify: Optimize signed icmp of -(zext V)
Summary:
We know that -(zext V) will always be <= zero, simplify signed icmps
that have these.

Uncovered using http://www.cs.utah.edu/~regehr/souper/

Reviewers: nicholas

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D3754

llvm-svn: 208809
2014-05-14 20:16:28 +00:00
..
autoconf ARM64: initial backend import 2014-03-29 10:18:08 +00:00
bindings [OCaml] Add an ocamlfind package llvm.all_backends. 2014-05-01 21:00:52 +00:00
cmake Disable -Wcomment when building with GCC. 2014-05-06 09:46:06 +00:00
docs Update of the documentation: I think we are now happy with Phabricator 2014-05-14 09:22:15 +00:00
examples Try to fix the msvc build. 2014-04-29 23:37:02 +00:00
include Update the comments for ComputeMaskedBits, which lost its Mask parameter 2014-05-14 08:00:07 +00:00
lib InstSimplify: Optimize signed icmp of -(zext V) 2014-05-14 20:16:28 +00:00
projects Remove projects/sample. 2014-03-12 22:40:22 +00:00
test InstSimplify: Optimize signed icmp of -(zext V) 2014-05-14 20:16:28 +00:00
tools [obj2yaml] Support ELF input format in the obj2yaml tool. 2014-05-14 05:07:47 +00:00
unittests Assert that we don't RAUW a Constant with a ConstantExpr that contains it. 2014-05-13 01:23:21 +00:00
utils Teach the table generator to not generate switch statements containing only a default label with no cases. This solves some warnings with MSVC. 2014-05-13 12:52:35 +00:00
.arcconfig Updated phabricator server. 2014-04-07 03:57:04 +00:00
.clang-format Test commit. 2014-03-02 13:08:46 +00:00
.gitignore Remove projects/sample. 2014-03-12 22:40:22 +00:00
CMakeLists.txt [CMake] Add build rules for llvm-PerfectShuffle utility 2014-05-07 16:54:00 +00:00
CODE_OWNERS.TXT ARM Linux support 2014-04-02 23:03:28 +00:00
CREDITS.TXT Test commit. 2014-04-10 22:25:51 +00:00
LICENSE.TXT Remove projects/sample. 2014-03-12 22:40:22 +00:00
LLVMBuild.txt
Makefile [configure/make] Propagate names of build host tools when making BuildTools 2014-03-25 21:45:41 +00:00
Makefile.common
Makefile.config.in Add a --enable-clang-plugin-support option to configure. 2014-03-10 16:58:35 +00:00
Makefile.rules autoconf: Fix soname for libLLVM-Major.Minor.so (2nd try) 2014-05-13 19:37:03 +00:00
README.txt Trivial test commit. 2014-04-26 19:05:45 +00:00
configure ARM64: initial backend import 2014-03-29 10:18:08 +00:00
llvm.spec.in

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.