llvm-project/llvm
Craig Topper 1d149d08d3 [InstCombine] Remove insertRangeTest code that handles the equality case.
For equality, the function called getTrue/getFalse with the VT
of the comparison input. But getTrue/getFalse need the boolean VT.
So if this code ever executed, it would assert.

I believe these cases are removed by InstSimplify so we don't get here.

So this patch just fixes up an assert to exclude the equality
possibility and removes the broken code.

llvm-svn: 366649
2019-07-21 06:43:38 +00:00
..
benchmarks
bindings [IR/DIVar] Add the flag for params that have unmodified value 2019-06-26 11:19:26 +00:00
cmake Re-commit: r366610 and r366612: Expand pseudo-components before embedding in llvm-config 2019-07-19 22:46:47 +00:00
docs unbreak links 2019-07-19 05:49:11 +00:00
examples [ORC] Add deprecation warnings to ORCv1 layers and utilities. 2019-07-17 16:40:52 +00:00
include [WebAssembly] Compute and export TLS block alignment 2019-07-19 23:34:16 +00:00
lib [InstCombine] Remove insertRangeTest code that handles the equality case. 2019-07-21 06:43:38 +00:00
projects Revert "[libc++] Integrate the PSTL into libc++" 2019-07-19 18:52:46 +00:00
resources
runtimes
test [NFC][InstCombine] Autogenerate a few tests 2019-07-20 21:34:00 +00:00
tools Re-commit: r366610 and r366612: Expand pseudo-components before embedding in llvm-config 2019-07-19 22:46:47 +00:00
unittests [FPEnv] Teach the IRBuilder about constrained FPTrunc and FPExt 2019-07-18 18:01:57 +00:00
utils gn build: Merge r366622 2019-07-21 00:03:55 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [cmake] Convert the NATIVE llvm build process to be project agnostic 2019-07-19 00:10:06 +00:00
CODE_OWNERS.TXT Update email address in CODE_OWNERS 2019-07-01 16:01:15 +00:00
CREDITS.TXT Update email address. 2019-07-17 07:02:02 +00: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.