llvm-6502/test
Andrea Di Biagio 19e39c6f12 [DAGCombiner] Improve the shuffle-vector folding logic.
Canonicalize shuffles according to rules:
 *  shuffle(A, shuffle(A, B)) -> shuffle(shuffle(A,B), A)
 *  shuffle(B, shuffle(A, B)) -> shuffle(shuffle(A,B), B)
 *  shuffle(B, shuffle(A, Undef)) -> shuffle(shuffle(A, Undef), B)

This patch helps identifying more shuffle pairs that could be combined reusing
the already existing rules in the DAGCombiner.

Added new test 'combine-vec-shuffle-5.ll' to verify that the canonicalized
shuffles are now folded into a single shuffle node by the DAGCombiner.
Added more test cases to 'combine-vec-shuffle-4.ll'.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213504 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-21 07:30:54 +00:00
..
Analysis
Assembler
Bindings
Bitcode Add a dereferenceable attribute 2014-07-18 15:51:28 +00:00
BugPoint
CodeGen [DAGCombiner] Improve the shuffle-vector folding logic. 2014-07-21 07:30:54 +00:00
DebugInfo MC: correct DWARF header for PE/COFF assembly input 2014-07-17 16:27:44 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation [ASan] Don't instrument load/stores with !nosanitize metadata. 2014-07-17 18:48:12 +00:00
Integer
JitListener
Linker
LTO
MC [MC] Pass MCSymbolData to needsRelocateWithSymbol 2014-07-20 23:15:06 +00:00
Object Add printing of Mach-O stabs in llvm-nm. 2014-07-17 22:47:16 +00:00
Other
TableGen [TableGen] Allow shift operators to take bits<n> 2014-07-17 17:04:27 +00:00
tools
Transforms [LoopVectorize] Use AA to partition potential dependency checks 2014-07-20 23:07:52 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh