llvm-6502/test/Transforms/ScalarRepl
Shuxin Yang 2da70d1792 Disable the optimization about promoting vector-element-access with symbolic index.
This optimization is unstable at this moment; it 
  1) block us on a very important application
  2) PR15200
  3) test6 and test7 in test/Transforms/ScalarRepl/dynamic-vector-gep.ll
     (the CHECK command compare the output against wrong result)

   I personally believe this optimization should not have any impact on the
autovectorized code, as auto-vectorizer is supposed to put gather/scatter
in a "right" way.  Although in theory downstream optimizaters might reveal 
some gather/scatter optimization opportunities, the chance is quite slim.

   For the hand-crafted vectorizing code, in term of redundancy elimination,
load-CSE, copy-propagation and DSE can collectively achieve the same result,
but in much simpler way. On the other hand, these optimizers are able to 
improve the code in a incremental way; in contrast, SROA is sort of all-or-none
approach. However, SROA might slighly win in stack size, as it tries to figure 
out a stretch of memory tightenly cover the area accessed by the dynamic index.

 rdar://13174884
 PR15200



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178912 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-05 21:07:08 +00:00
..
2003-05-29-ArrayFail.ll
2003-09-12-IncorrectPromote.ll FileCheck-ify some grep tests 2013-01-25 22:11:46 +00:00
2003-10-29-ArrayProblem.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2006-11-07-InvalidArrayPromote.ll
2007-05-29-MemcpyPreserve.ll
2007-11-03-bigendian_apint.ll
2008-01-29-PromoteBug.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2008-02-28-SubElementExtractCrash.ll
2008-06-05-loadstore-agg.ll
2008-06-22-LargeArray.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2008-08-22-out-of-range-array-promote.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2008-09-22-vector-gep.ll
2009-02-02-ScalarPromoteOutOfRange.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2009-02-05-LoadFCA.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2009-03-04-MemCpyAlign.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2009-12-11-NeonTypes.ll
2010-01-18-SelfCopy.ll
2011-05-06-CapturedAlloca.ll
2011-06-08-VectorExtractValue.ll Recommit r158407: Allow SROA to look at a vector type and see if the offset is out of range to be replaced with a scalar access. Now with additional fix and test for indexing into a vector inside a struct 2012-06-14 23:53:53 +00:00
2011-06-17-VectorPartialMemset.ll
2011-09-22-PHISpeculateInvoke.ll
2011-10-11-VectorMemset.ll
2011-10-22-VectorCrash.ll
2011-11-11-EmptyStruct.ll
address-space.ll
AggregatePromote.ll
arraytest.ll
badarray.ll
basictest.ll
bitfield-sroa.ll
copy-aggregate.ll
crash.ll Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID 2012-12-30 02:33:22 +00:00
debuginfo-preserved.ll Revert "Adding DIImportedModules to DIScopes." 2013-03-28 02:44:59 +00:00
DifferingTypes.ll
inline-vector.ll
lifetime.ll
lit.local.cfg
load-store-aggregate.ll
memcpy-align.ll Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID 2013-01-01 13:57:25 +00:00
memset-aggregate-byte-leader.ll Fix the remaining TCL-style quotes found in the testsuite. This is 2012-07-02 19:09:46 +00:00
memset-aggregate.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
negative-memset.ll line endings 2012-03-15 20:24:29 +00:00
nonzero-first-index.ll
not-a-vector.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
only-memcpy-uses.ll
phi-cycle.ll Use references to attribute groups on the call/invoke instructions. 2013-02-22 09:09:42 +00:00
phi-select.ll Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID 2013-01-01 13:57:25 +00:00
phinodepromote.ll
select_promote.ll
sroa_two.ll
sroa-fca.ll
union-fp-int.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
union-packed.ll
union-pointer.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
vector_memcpy.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
vector_promote.ll
vectors-with-mismatched-elements.ll
volatile.ll s/grep/FileCheck/ in some tests 2013-02-13 22:00:37 +00:00