llvm-6502/test/Transforms/LoopVectorize
Arnold Schwaighofer bc7c58d2b1 Reapply 184685 after the SetVector iteration order fix.
This should hopefully have fixed the stage2/stage3 miscompare on the dragonegg
testers.

"LoopVectorize: Use the dependence test utility class

We now no longer need alias analysis - the cases that alias analysis would
handle are now handled as accesses with a large dependence distance.

We can now vectorize loops with simple constant dependence distances.

  for (i = 8; i < 256; ++i) {
    a[i] = a[i+4] * a[i+8];
  }

  for (i = 8; i < 256; ++i) {
    a[i] = a[i-4] * a[i-8];
  }

We would be able to vectorize about 200 more loops (in many cases the cost model
instructs us no to) in the test suite now. Results on x86-64 are a wash.

I have seen one degradation in ammp. Interestingly, the function in which we
now vectorize a loop is never executed so we probably see some instruction
cache effects. There is a 2% improvement in h264ref. There is one or the other
TSCV loop kernel that speeds up.

radar://13681598"

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184724 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-24 12:09:15 +00:00
..
ARM
X86 Add support for llvm.vectorizer metadata 2013-05-28 20:00:34 +00:00
12-12-11-if-conv.ll Reapply 184685 after the SetVector iteration order fix. 2013-06-24 12:09:15 +00:00
2012-10-20-infloop.ll
2012-10-22-isconsec.ll TBAA: remove !tbaa from testing cases if not used. 2013-05-02 18:11:35 +00:00
bsd_regex.ll
bzip_reverse_loops.ll TBAA: remove !tbaa from testing cases if not used. 2013-05-02 18:11:35 +00:00
calloc.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
cast-induction.ll
cpp-new-array.ll
dbg.value.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
flags.ll
float-reduction.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
gcc-examples.ll
global_alias.ll
hoist-loads.ll LoopVectorize: Hoist conditional loads if possible 2013-05-15 01:44:30 +00:00
i8-induction.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
if-conv-crash.ll LoopVectorize: Handle single edge PHIs 2013-05-18 18:38:34 +00:00
if-conversion-nest.ll LoopVectorizer: Add support for if-conversion of PHINodes with 3+ incoming values. 2013-05-03 17:42:55 +00:00
if-conversion-reduction.ll
if-conversion.ll
increment.ll
induction_plus.ll
induction.ll LoopVectorize: Handle loops with multiple forward inductions 2013-05-14 00:21:18 +00:00
infiniteloop.ll LoopVectorizer: Don't assert on the absence of induction variables 2013-05-09 00:32:18 +00:00
intrinsic.ll TBAA: remove !tbaa from testing cases if not used. 2013-05-02 18:11:35 +00:00
lcssa-crash.ll LoopVectorize: LoopSimplify can't canonicalize loops with an indirectbr in it, don't assert on those cases. 2013-05-24 18:05:35 +00:00
lit.local.cfg
memdep.ll Reapply 184685 after the SetVector iteration order fix. 2013-06-24 12:09:15 +00:00
metadata-unroll.ll Add support for llvm.vectorizer metadata 2013-05-28 20:00:34 +00:00
metadata-width.ll Add support for llvm.vectorizer metadata 2013-05-28 20:00:34 +00:00
minmax_reduction.ll LoopVectorize: Add support for floating point min/max reductions 2013-05-05 01:54:48 +00:00
multiple-address-spaces.ll Fix for a regression caused by the LoopVectorizer when 2013-06-17 18:49:06 +00:00
no_idiv_reduction.ll
no_int_induction.ll
no_outside_user.ll LoopVectorize: PHIs with only outside users should prevent vectorization 2013-05-31 19:53:50 +00:00
nofloat.ll
non-const-n.ll
nsw-crash.ll
phi-hang.ll
ptr_loops.ll
read-only.ll
reduction.ll LoopVectorizer: Improve reduction variable identification 2013-05-07 21:55:37 +00:00
reverse_induction.ll LoopVectorize: Use the widest induction variable type 2013-05-11 23:04:28 +00:00
reverse_iter.ll Add an additional testcase for PR15882. 2013-05-10 22:55:44 +00:00
runtime-check-readonly.ll LoopVectorizer: No need to generate pointer disambiguation checks between readonly pointers. 2013-04-25 19:55:03 +00:00
runtime-check.ll Reapply 184685 after the SetVector iteration order fix. 2013-06-24 12:09:15 +00:00
runtime-limit.ll LoopVectorizer: Calculate the number of pointers to disambiguate at runtime based on the numbers of reads and writes. 2013-04-26 05:08:59 +00:00
same-base-access.ll
scalar-select.ll
simple-unroll.ll
small-loop.ll
start-non-zero.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
struct_access.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
value-ptr-bug.ll LoopVectorize: Make Value pointers that could be RAUW'ed a VH 2013-05-22 16:54:56 +00:00
vectorize-once.ll Add support for llvm.vectorizer metadata 2013-05-28 20:00:34 +00:00
write-only.ll