llvm-6502/test
Andrea Di Biagio cae1ea691d [X86] Always prefer to lower a VECTOR_SHUFFLE into a BLENDI instead of SHUFP (or VPERM2X128).
This patch teaches method 'LowerVECTOR_SHUFFLE' to give higher precedence to
the check for 'isBlendMask'; the idea is that, when possible, we should firstly
check if a shuffle performs a blend, and in case, try to lower it into a BLENDI
instead of selecting a SHUFP or (worse) a VPERM2X128.

In general:
 - AVX VBLENDPS/D always have better latency and throughput than VPERM2F128;
 - BLENDPS/D instructions tend to always have better 'reciprocal throughput'
   than the equivalent SHUFPS/D;
 - Both BLENDPS/D and SHUFPS/D are often decoded into the same number of
   m-ops; however, a m-op obtained from a BLENDPS/D can be scheduled to more
   than one execution port.

This patch:
 - Moves the check for 'isBlendMask' immediately before the check for
   'isSHUFPMask' within method 'LowerVECTOR_SHUFFLE';
 - Updates existing tests for sse/avx shuffle/blend instructions to verify
   that we select (v)blendps/d when possible (instead of (v)shufps/d or
   vperm2f128).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211720 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-25 17:41:58 +00:00
..
Analysis
Assembler Add some test files for r211710. 2014-06-25 15:41:39 +00:00
Bindings
Bitcode Add some test files for r211710. 2014-06-25 15:41:39 +00:00
BugPoint
CodeGen [X86] Always prefer to lower a VECTOR_SHUFFLE into a BLENDI instead of SHUFP (or VPERM2X128). 2014-06-25 17:41:58 +00:00
DebugInfo Fix another asserting method in the null streamer. 2014-06-25 05:37:58 +00:00
ExecutionEngine [RuntimeDyld] Support more PPC64 relocations 2014-06-20 17:51:47 +00:00
Feature
FileCheck
Instrumentation [msan] Fix bad interaction between with-calls mode and chained origin tracking. 2014-06-25 14:41:57 +00:00
Integer
JitListener
Linker
LTO Change the default input for llvm-nm to be a.out instead of standard input 2014-06-23 20:27:53 +00:00
MC ldr-pseudo-obj-errors.s: Fix silly copypasto. 2014-06-24 23:18:07 +00:00
Object nm-trivial-object.test requires shell since Lit internal runner isn't capable of chdir. 2014-06-23 21:07:04 +00:00
Other Change the default input for llvm-nm to be a.out instead of standard input 2014-06-23 20:27:53 +00:00
TableGen
tools Do not XFAIL test/tools/llvm-cov tests on powerpc64le 2014-06-18 15:52:18 +00:00
Transforms Rename loop unrolling and loop vectorizer metadata to have a common prefix. 2014-06-25 15:41:00 +00:00
Unit
Verifier [ValueTracking] Extend range metadata to call/invoke 2014-06-19 16:50:16 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg Delete utils/FileUpdate. 2014-06-23 17:58:39 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh