llvm-project/llvm
Enna1 03bc311a16 [CorrelatedValuePropagation] Remove redundant if statement in processSelect()
This statement

    if (ReplaceWith == S) ReplaceWith = UndefValue::get(S->getType());

is introduced in https://reviews.llvm.org/rG35609d97ae89b8e13f40f4e6b9b056954f8baa83
to fix a case where unreachable code can cause select instruction
simplification to fail. In https://reviews.llvm.org/rGd10480657527ffb44ea213460fb3676a6b1300aa,
we begin to perform a depth-first walk of basic blocks. This means
we will not visit unreachable blocks. So we do not need this the
special check any more.

Differential Revision: https://reviews.llvm.org/D76753
2020-03-28 18:01:17 +01:00
..
benchmarks
bindings
cmake
docs [docs] Added solutions to slow build under common problems. 2020-03-28 04:19:45 -05:00
examples
include [AsmPrinter] Emit .weak directive for weak linkage on COFF for symbols without a comdat 2020-03-28 18:48:58 +02:00
lib [CorrelatedValuePropagation] Remove redundant if statement in processSelect() 2020-03-28 18:01:17 +01:00
projects
resources
runtimes
test [AsmPrinter] Emit .weak directive for weak linkage on COFF for symbols without a comdat 2020-03-28 18:48:58 +02:00
tools [llvm-rc] Allow -1 for menu item IDs 2020-03-28 14:32:08 +02:00
unittests Revert "[FileCollector] Add a method to add a whole directory and it contents." 2020-03-27 19:21:48 -07:00
utils
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
CREDITS.TXT
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.