llvm-6502/test
Chandler Carruth a6f9501b62 [x86] Add a much more powerful framework for combining x86 shuffle
instructions in the legalized DAG, and leverage it to combine long
sequences of instructions to PSHUFB.

Eventually, the other x86-instruction-specific shuffle combines will
probably all be driven out of this routine. But the real motivation is
to detect after we have fully legalized and optimized a shuffle to the
minimal number of x86 instructions whether it is profitable to replace
the chain with a fully generic PSHUFB instruction even though doing so
requires either a load from a constant pool or tying up a register with
the mask.

While the Intel manuals claim it should be used when it replaces 5 or
more instructions (!!!!) my experience is that it is actually very fast
on modern chips, and so I've gon with a much more aggressive model of
replacing any sequence of 3 or more instructions.

I've also taught it to do some basic canonicalization to special-purpose
instructions which have smaller encodings than their generic
counterparts.

There are still quite a few FIXMEs here, and I've not yet implemented
support for lowering blends with PSHUFB (where its power really shines
due to being able to zero out lanes), but this starts implementing real
PSHUFB support even when using the new, fancy shuffle lowering. =]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214042 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-27 01:15:58 +00:00
..
Analysis Add @llvm.assume, lowering, and some basic properties 2014-07-25 21:13:35 +00:00
Assembler Rename metadata llvm.loop.vectorize.unroll to llvm.loop.vectorize.interleave. 2014-07-21 23:11:03 +00:00
Bindings [OCaml] Don't truncate constants over 32 bits in Llvm.const_int. 2014-07-22 13:55:20 +00:00
Bitcode Move -verify-use-list-order into llvm-uselistorder 2014-07-25 17:13:03 +00:00
BugPoint
CodeGen [x86] Add a much more powerful framework for combining x86 shuffle 2014-07-27 01:15:58 +00:00
DebugInfo Reapply "DebugInfo: Don't put fission type units in comdat sections." 2014-07-25 17:11:58 +00:00
ExecutionEngine [RuntimeDyld][AArch64] Update relocation tests and also add a simple GOT test. 2014-07-23 22:23:17 +00:00
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 [X86] Add comments to clarify some non-obvious lines in the stackmap-nops.ll 2014-07-25 04:50:08 +00:00
Object Add an implementation for llvm-nm’s -print-file-name option (aka -o and -A). 2014-07-24 23:31:52 +00:00
Other
TableGen Revert of r213521. This change introduced a non-hermetic test (depending on a 2014-07-22 02:32:12 +00:00
tools llvm-vtabledump: A vtable dumper 2014-07-24 23:14:40 +00:00
Transforms Canonicalization for @llvm.assume 2014-07-25 21:45:17 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Move -verify-use-list-order into llvm-uselistorder 2014-07-25 17:13:03 +00:00
lit.cfg Move -verify-use-list-order into llvm-uselistorder 2014-07-25 17:13:03 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh