llvm-project/llvm
Roman Lebedev 132be1f502
[InstCombine] (-NSW x) u< x --> x s< 0 (PR39480)
Name: (-x) u< x  -->  x s< 0
%neg_x = sub nsw i8 0, %x ; %x must not be INT_MIN
%r = icmp ult i8 %neg_x, %x
  =>
%r = icmp slt i8 %x, 0

https://rise4fun.com/Alive/zSuf

https://bugs.llvm.org/show_bug.cgi?id=39480
2020-08-06 11:50:36 +03:00
..
benchmarks
bindings [Bindings] Remove ipc_propagation. 2020-08-02 22:36:53 +01:00
cmake [CMake] Simplify CMake handling for zlib 2020-08-05 16:07:11 -07:00
docs [AMDGPU] gfx1031 target 2020-08-05 12:36:26 -07:00
examples [llvm][examples][SimplifyCFG] Fix pass's IR changed reporting 2020-07-27 13:39:58 -06:00
include [InstCombine] (-NSW x) s> x --> x s< 0 (PR39480) 2020-08-06 11:50:34 +03:00
lib [InstCombine] (-NSW x) u< x --> x s< 0 (PR39480) 2020-08-06 11:50:36 +03:00
projects
resources
runtimes [CMake] Bump CMake minimum version to 3.13.4 2020-07-22 14:25:07 -04:00
test [InstCombine] (-NSW x) u< x --> x s< 0 (PR39480) 2020-08-06 11:50:36 +03:00
tools [DWARFYAML][debug_info] Pull out dwarf::FormParams from DWARFYAML::Unit. 2020-08-06 16:39:00 +08:00
unittests [CMake] Simplify CMake handling for zlib 2020-08-05 16:07:11 -07:00
utils [lit] Remove ANSI control characters from xunit output 2020-08-06 09:16:52 +01:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [CMake] Bump CMake minimum version to 3.13.4 2020-07-22 14:25:07 -04:00
CODE_OWNERS.TXT Remove Olesen from LLVM code owners 2020-08-05 11:12:10 -07:00
CREDITS.TXT [test commit] Add my name to the CREDITS.TXT 2020-07-24 12:05:53 -05:00
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
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 are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.