Old fork of llvm-mirror, used on older RPCS3 builds
Go to file
Craig Topper 03d8600380 [X86] Prevent several calls to ISD::isConstantSplatVector from returning a narrower APInt than the original scalar type
ISD::isConstantSplatVector can shrink to the smallest splat width. But we don't check the size of the resulting APInt at all. This can cause us to misinterpret the results.

This patch just adds a flag to prevent the APInt from changing width.

Fixes PR34271.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311429 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-22 05:40:17 +00:00
bindings
cmake
docs
examples
include [X86] Prevent several calls to ISD::isConstantSplatVector from returning a narrower APInt than the original scalar type 2017-08-22 05:40:17 +00:00
lib [X86] Prevent several calls to ISD::isConstantSplatVector from returning a narrower APInt than the original scalar type 2017-08-22 05:40:17 +00:00
projects
resources
runtimes
test [X86] Prevent several calls to ISD::isConstantSplatVector from returning a narrower APInt than the original scalar type 2017-08-22 05:40:17 +00:00
tools dsymutil: don't copy compile units without children from PCM files 2017-08-22 01:10:48 +00:00
unittests Re-apply "Introduce FuzzMutate library" 2017-08-21 22:57:06 +00:00
utils [AVX512] Add 128->256 vbroadcastf64x2/vbroadcasti64x2 instructions to the EVEX->VEX table. 2017-08-21 05:03:28 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
README.txt
RELEASE_TESTERS.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.