llvm-6502/test
Hal Finkel 081e6fcd17 [LoopVectorizer] Count dependencies of consecutive pointers as uniforms
For the purpose of calculating the cost of the loop at various vectorization
factors, we need to count dependencies of consecutive pointers as uniforms
(which means that the VF = 1 cost is used for all overall VF values).

For example, the TSVC benchmark function s173 has:
  ...
  %3 = add nsw i64 %indvars.iv, 16000
  %arrayidx8 = getelementptr inbounds %struct.GlobalData* @global_data, i64 0, i32 0, i64 %3
  ...
and we must realize that the add will be a scalar in order to correctly deduce
it to be profitable to vectorize this on PowerPC with VSX enabled. In fact, all
dependencies of a consecutive pointer must be a scalar (uniform), and so we
simply need to add all consecutive pointers to the worklist that currently
detects collects uniforms.

Fixes PR19296.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205387 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-02 02:34:49 +00:00
..
Analysis ARM64: initial backend import 2014-03-29 10:18:08 +00:00
Assembler
Bindings
Bitcode All new elements except the last one initialized to NULL. Ideally, once parsing is complete, all elements should be non-NULL. 2014-03-27 12:08:23 +00:00
BugPoint
CodeGen [PowerPC] Add some missing VSX bitcast patterns 2014-04-01 19:24:27 +00:00
DebugInfo DebugLocEntry: Actually merge the loc entry when returning true. 2014-04-01 23:19:23 +00:00
ExecutionEngine
Feature Disable each MachineFunctionPass for 'optnone' functions, unless that 2014-03-31 17:43:35 +00:00
FileCheck
Instrumentation [msan] Relax the test some more. 2014-03-25 14:32:05 +00:00
Integer
JitListener
Linker
LTO This patch fixes LTO's RecordStreamer so that it records symbols in the MCExpr 2014-03-31 16:59:13 +00:00
MC [mips] Add Octeon cnMips instructions mtmX and mtpX 2014-04-01 18:35:26 +00:00
Object [yaml2obj] Add support for ELF e_flags. 2014-03-31 09:44:05 +00:00
Other
TableGen
tools llvm-cov: Move XFAIL after the body of the test 2014-03-26 22:51:39 +00:00
Transforms [LoopVectorizer] Count dependencies of consecutive pointers as uniforms 2014-04-02 02:34:49 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg llvm-mc: error when -compress-debug-sections is requested and zlib is not linked 2014-03-28 20:45:24 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh