1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/test
Silviu Baranga 82abdf7e36 [DAGCombine] Truncate BUILD_VECTOR operators if necessary when constant folding vectors
Summary:
The BUILD_VECTOR node will truncate its operators to match the
type. We need to take this into account when constant folding -
we need to perform a truncation before constant folding the elements.
This is because the upper bits can change the result, depending on
the operation type (for example this is the case for min/max).

This change also adds a regression test.

Reviewers: jmolloy

Subscribers: jmolloy, llvm-commits

Differential Revision: http://reviews.llvm.org/D12697

llvm-svn: 247265
2015-09-10 10:34:34 +00:00
..
Analysis [ScalarEvolution] Fix PR24757. 2015-09-10 05:27:38 +00:00
Assembler [IR] Have AttrBuilder::clear clear TargetDepAttrs. 2015-09-03 22:27:42 +00:00
Bindings Add a way to skip the Go bindings tests even when Go is configured in 2015-09-10 05:47:43 +00:00
Bitcode [Bitcode] Add compatibility tests for new instructions 2015-09-08 22:33:23 +00:00
BugPoint DI: Require subprogram definitions to be distinct 2015-08-28 20:26:49 +00:00
CodeGen [DAGCombine] Truncate BUILD_VECTOR operators if necessary when constant folding vectors 2015-09-10 10:34:34 +00:00
DebugInfo AsmPrinter: Allow null subroutine type 2015-08-28 21:38:24 +00:00
Examples Disable llvm/test/Examples/ for now while investigating. 2015-08-28 03:32:43 +00:00
ExecutionEngine [RuntimeDyld] Add support for MachO x86_64 SUBTRACTOR relocation. 2015-09-09 03:14:29 +00:00
Feature [WinEH] Add cleanupendpad instruction 2015-09-03 09:09:43 +00:00
FileCheck
Instrumentation [sancov] Disable sanitizer coverage on functions using SEH 2015-09-03 20:18:29 +00:00
Integer
JitListener DI: Require subprogram definitions to be distinct 2015-08-28 20:26:49 +00:00
LibDriver Add support for producing thin archives in llvm-lib. 2015-07-17 16:01:11 +00:00
Linker New bitcode linker flags: 2015-09-01 17:55:55 +00:00
LTO Add powerpc64 to parallel.ll unsupported architecture list. 2015-09-04 19:45:36 +00:00
MC [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
Object Object: Fix COFF import file's symbols. 2015-09-01 06:01:53 +00:00
Other Update test suite to make "ninja check" succeed without native backend builtin 2015-08-04 06:32:54 +00:00
SymbolRewriter
TableGen [TableGen] Allow TokenTy in intrinsic signatures 2015-09-02 13:36:25 +00:00
tools Tweak llvm/test/tools/gold/X86/parallel.ll to run with pthread-unaware ld.gold on Linux. 2015-09-03 00:48:59 +00:00
Transforms [RewriteStatepointsForGC] Extend base pointer inference to handle insertelement 2015-09-09 23:40:12 +00:00
Unit
Verifier DI: Add Function::getSubprogram() 2015-08-28 21:55:35 +00:00
YAMLParser
.clang-format
CMakeLists.txt Recommit r246175 - Add Kaleidoscope regression tests, with a fix to make sure 2015-08-27 20:31:44 +00:00
lit.cfg test: Only warn about missing substitutions for required tools 2015-09-02 18:03:01 +00:00
lit.site.cfg.in Add a way to skip the Go bindings tests even when Go is configured in 2015-09-10 05:47:43 +00:00
Makefile Add a way to skip the Go bindings tests even when Go is configured in 2015-09-10 05:47:43 +00:00
Makefile.tests
TestRunner.sh