Fork of llvm with experimental commits and workarounds for RPCS3
Go to file
Andrea Di Biagio e962698410 [DAGCombiner] Teach how to fold sext/aext/zext of constant build vectors.
This patch teaches the DAGCombiner how to fold a sext/aext/zext dag node when
the operand in input is a build vector of constants (or UNDEFs).

The inability to fold a sext/zext of a constant build_vector was the root
cause of some pcg bugs affecting vselect expansion on x86-64 with AVX support.

Before this change, the DAGCombiner only knew how to fold a sext/zext/aext of a
ConstantSDNode.

llvm-svn: 200234
2014-01-27 18:45:30 +00:00
autoconf
bindings
cmake [CMake] Put *_exports into "Misc" folder. 2014-01-27 17:39:38 +00:00
docs
examples
include Silence MSVC warning on 'uint16_t |= bool' with a cast 2014-01-27 17:47:11 +00:00
lib [DAGCombiner] Teach how to fold sext/aext/zext of constant build vectors. 2014-01-27 18:45:30 +00:00
projects
test [DAGCombiner] Teach how to fold sext/aext/zext of constant build vectors. 2014-01-27 18:45:30 +00:00
tools Do not reference llvm-gcc from bugpoint 2014-01-27 13:44:58 +00:00
unittests Roll back the ConstStringRef change for now 2014-01-27 05:24:39 +00:00
utils
.arcconfig
.clang-format
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in
Makefile.rules
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.