llvm/test
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
..
Analysis [CostModel][X86][XOP] Improve costs for XOP shuffles 2017-08-16 13:50:20 +00:00
Assembler [DI] Every DIGlobalVariable should have a type. 2017-08-16 13:39:07 +00:00
Bindings [llvm] Get rid of "%T" expansions 2017-08-15 20:29:24 +00:00
Bitcode [IR] AutoUpgrade ModuleFlagBehavior for PIC and PIE level 2017-08-21 21:49:13 +00:00
BugPoint
CodeGen [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
DebugInfo [llvm-pdbutil] Add support for dumping detailed module stats. 2017-08-21 14:53:25 +00:00
DllTool [llvm-dlltool] Fix creating stdcall/fastcall import libraries for i386 2017-08-16 05:18:36 +00:00
Examples
ExecutionEngine [AsmParser] Recommit: Hash is not a comment on some targets 2017-08-21 09:58:37 +00:00
Feature
FileCheck
Instrumentation [SanitizerCoverage] Add stack depth tracing instrumentation. 2017-08-18 18:43:30 +00:00
Integer
JitListener
LibDriver [llvm] Get rid of "%T" expansions 2017-08-15 20:29:24 +00:00
Linker [IR] AutoUpgrade ModuleFlagBehavior for PIC and PIE level 2017-08-21 21:49:13 +00:00
LTO Emit only A Single Opt Remark When Inlining 2017-08-21 16:45:47 +00:00
MC [AsmParser] Recommit: Hash is not a comment on some targets 2017-08-21 09:58:37 +00:00
Object Fix archive-update.test after r311296. 2017-08-20 18:31:30 +00:00
ObjectYAML
Other revert failing test 2017-08-19 12:24:41 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [globalisel][tablegen] Generate TypeObject table. NFC 2017-08-17 13:18:35 +00:00
ThinLTO/X86 Emit only A Single Opt Remark When Inlining 2017-08-21 16:45:47 +00:00
tools dsymutil: don't copy compile units without children from PCM files 2017-08-22 01:10:48 +00:00
Transforms [InstCombine] add udiv/urem tests with constant numerator; NFC 2017-08-21 22:40:02 +00:00
Unit
Verifier Mark Verifier/invalid-eh.ll as unsupported on windows 2017-08-17 15:07:03 +00:00
YAMLParser
.clang-format
CMakeLists.txt Reland "[LLVM][llvm-objcopy] Added basic plumbing to get things started" 2017-08-01 00:33:58 +00:00
lit.cfg Reland "[LLVM][llvm-objcopy] Added basic plumbing to get things started" 2017-08-01 00:33:58 +00:00
lit.site.cfg.in Correctly enable the llvm-mt tests, now that build flags changed. 2017-07-26 16:35:44 +00:00
TestRunner.sh