llvm-6502/test
Chandler Carruth 050d187bc8 [x86] Begin a significant overhaul of how vector lowering is done in the
x86 backend.

This sketches out a new code path for vector lowering, hidden behind an
off-by-default flag while it is under development. The fundamental idea
behind the new code path is to aggressively break down the problem space
in ways that ease selecting the odd set of instructions available on
x86, and carefully avoid scalarizing code even when forced to use older
ISAs. Notably, this starts off restricting itself to SSE2 and implements
the complete vector shuffle and blend space for 128-bit vectors in SSE2
without scalarizing. The plan is to layer on top of this ISA extensions
where we can bail out of the complex SSE2 lowering and opt for
a cheaper, specialized instruction (or set of instructions). It also
needs to be generalized to AVX and AVX512 vector widths.

Currently, this does a decent but not perfect job for SSE2. There are
some specific shortcomings that I plan to address:
- We need a peephole combine to fold together shuffles where possible.
  There are cases where a previous shuffle could be modified slightly to
  arrange for elements to be in the correct position and a later shuffle
  eliminated. Doing this eagerly added quite a bit of complexity, and
  so my plan is to combine away these redundancies afterward.
- There are a lot more clever ways to use unpck and pack that need to be
  added. This is essential for real world shuffles as it turns out...

Once SSE2 is polished a bit I should be able to get interesting numbers
on performance improvements on benchmarks conducive to vectorization.
All of this will be off by default until it is functionally equivalent
of course.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211888 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-27 11:23:44 +00:00
..
Analysis Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
Assembler Add some test files for r211710. 2014-06-25 15:41:39 +00:00
Bindings Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
Bitcode Add some test files for r211710. 2014-06-25 15:41:39 +00:00
BugPoint Revert r206989, "Mark llvm/test/BugPoint/compile-custom.ll as XFAIL:vg_leak." It has been fixed since r207265. 2014-04-27 11:59:33 +00:00
CodeGen [x86] Begin a significant overhaul of how vector lowering is done in the 2014-06-27 11:23:44 +00:00
DebugInfo Revert "Revert "Revert "PR20038: DebugInfo: Inlined call sites where the caller has debug info but the call itself has no debug location.""" 2014-06-27 05:34:05 +00:00
ExecutionEngine [RuntimeDyld] Support more PPC64 relocations 2014-06-20 17:51:47 +00:00
Feature Move test for r210734 to Feature/aliases.ll. 2014-06-12 21:37:30 +00:00
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 Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
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 [X86] AVX512: Add vbroadcasti* 2014-06-27 00:43:38 +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 Fix error in tablegen when either operand of !if is an empty list. 2014-06-10 20:10:08 +00:00
tools Do not XFAIL test/tools/llvm-cov tests on powerpc64le 2014-06-18 15:52:18 +00:00
Transforms Added instruction combine to transform few more negative values addition to subtraction (Part 3) 2014-06-27 07:47:35 +00:00
Unit
Verifier [ValueTracking] Extend range metadata to call/invoke 2014-06-19 16:50:16 +00:00
YAMLParser
.clang-format
CMakeLists.txt OK, NAKAMURA Takumi beat me to this change. So backing out my addition of 2014-05-19 23:26:51 +00:00
lit.cfg Delete utils/FileUpdate. 2014-06-23 17:58:39 +00:00
lit.site.cfg.in
Makefile lld test for configure & make 2014-06-06 09:06:25 +00:00
Makefile.tests
TestRunner.sh