llvm-project/llvm
Roman Lebedev 9f65d16d5d [DAGCombiner] isAllOnesConstantOrAllOnesSplatConstant(): look through bitcasts
Summary:
As pointed out in D46528, we errneously transform cases like `xor X, -1`,
even though we use said function.
It's because the `-1` is actually a bitcast there.
So i think we can just look through it in the function.

Differential Revision: https://reviews.llvm.org/D47156

llvm-svn: 332905
2018-05-21 21:41:10 +00:00
..
bindings [LLVM-C] Consolidate llgo's DIBuilder Bindings 2018-05-10 21:10:06 +00:00
cmake Remove CMake workaround for LLD PR24476 which is no longer needed 2018-05-21 20:14:46 +00:00
docs Dissallow non-empty metadata for invariant.group 2018-05-18 23:53:46 +00:00
examples [ORC] Rewrite the VSO symbol table yet again. Update related utilities. 2018-05-16 22:24:30 +00:00
include [ORC] Lookup now returns an error if any symbols are not found. 2018-05-21 21:11:21 +00:00
lib [DAGCombiner] isAllOnesConstantOrAllOnesSplatConstant(): look through bitcasts 2018-05-21 21:41:10 +00:00
projects
resources
runtimes [CMake] Support runtimes in distributions 2018-05-17 16:58:44 +00:00
test [DAGCombiner] isAllOnesConstantOrAllOnesSplatConstant(): look through bitcasts 2018-05-21 21:41:10 +00:00
tools LTO: Replace split dwarf implementation that uses objcopy with one that uses direct emission. 2018-05-21 20:26:49 +00:00
unittests [ORC] Remove the optional MaterializationResponsibility argument from lookup. 2018-05-21 21:11:21 +00:00
utils Add Script to match open Phabricator reviews with potential reviewers. 2018-05-18 13:02:32 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
.gitignore
CMakeLists.txt [cmake] Add a switch to enable/disable bindings. 2018-05-20 08:37:54 +00:00
CODE_OWNERS.TXT [CODE_OWNERS] Update my email address. 2018-04-23 19:09:49 +00:00
CREDITS.TXT Update my email address and description. 2018-04-29 01:13:57 +00:00
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

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.