llvm-project/llvm/test
Craig Topper a5944aade1 [DAGCombiner] When folding (insert_subvector undef, (bitcast (extract_subvector N1, Idx)), Idx) -> (bitcast N1) make sure that N1 has the same total size as the original output
We were only checking the element count, but not the total width. This could cause illegal bitcasts to be created if for example the output was 512-bits, but N1 is 256 bits, and the extraction size was 128-bits.

Fixes PR36199

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

llvm-svn: 324002
2018-02-01 20:48:50 +00:00
..
Analysis [Lint] Upgrade uses of MemoryIntrinic::getAlignment() to new API. (NFCI) 2018-01-31 16:42:15 +00:00
Assembler LLParser: add an argument for overriding data layout and do not check alloca addr space 2018-01-30 22:32:39 +00:00
Bindings [LLVM-C] Add Accessors For A Module's Source File Name 2018-01-30 21:34:29 +00:00
Bitcode Add testcase accidentally left out from r323460. 2018-01-25 22:23:52 +00:00
BugPoint
CodeGen [DAGCombiner] When folding (insert_subvector undef, (bitcast (extract_subvector N1, Idx)), Idx) -> (bitcast N1) make sure that N1 has the same total size as the original output 2018-02-01 20:48:50 +00:00
DebugInfo [CodeView] Class record member counts should include base classes and ... 2018-02-01 20:37:38 +00:00
Examples
ExecutionEngine Don't try to run MCJIT/OrcJIT EH tests when C++ library is statically linked 2018-01-08 02:48:41 +00:00
Feature Mark two tests REQUIRES: x86-registered-backend 2018-01-31 07:32:03 +00:00
FileCheck [FileCheck] - Fix possible buffer out of bounds access when parsing --check-prefix. 2018-01-16 08:09:24 +00:00
Instrumentation [InstrProfiling] Don't exit early when an unused intrinsic is found 2018-01-27 00:01:04 +00:00
Integer
JitListener
LTO LTO: Drop comdats when converting definitions to declarations. 2018-01-31 02:51:03 +00:00
Linker [IRMover] Add comment and fix test case 2018-01-25 08:35:52 +00:00
MC [ARM] Add support for unpredictable MVN instructions. 2018-02-01 12:06:57 +00:00
Object Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1) 2018-01-19 17:13:12 +00:00
ObjectYAML [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
Other Re-commit : [PowerPC] Add handling for ColdCC calling convention and a pass to mark 2018-01-30 16:17:22 +00:00
SafepointIRVerifier [SafepointIRVerifier] Allow non-dereferencing uses of unrelocated or poisoned PHI nodes 2017-12-25 09:35:10 +00:00
SymbolRewriter
TableGen [TableGen] Make sure !if is evaluated throughout class inheritance. 2018-01-30 19:29:21 +00:00
ThinLTO/X86 Teach ValueMapper to use ODR uniqued types when available 2018-01-30 20:16:32 +00:00
Transforms Revert commit rL323951 2018-02-01 13:05:25 +00:00
Unit
Verifier Followup on Proposal to move MIR physical register namespace to '$' sigil. 2018-01-31 22:04:26 +00:00
YAMLParser
tools [llvm-cov] Improvements for summary report generated in HTML format. 2018-01-31 17:37:21 +00:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg.py Don't try to run MCJIT/OrcJIT EH tests when C++ library is statically linked 2018-01-08 02:48:41 +00:00
lit.site.cfg.py.in