llvm-project/llvm/test/Transforms/ScalarRepl
Chris Lattner 029afe4787 make a couple of changes to the standard pass pipeline:
1. Only run the early (in the module pass pipe) instcombine/simplifycfg
   if the "unit at a time" passes they are cleaning up after runs.

2. Move the "clean up after the unroller" pass to the very end of the
   function-level pass pipeline.  Loop unroll uses instsimplify now,
   so it doesn't create a ton of trash.  Moving instcombine later allows
   it to clean up after opportunities are exposed by GVN, DSE, etc.

3. Introduce some phase ordering tests for things that are specifically
   intended to be simplified by the full optimizer as a whole.

This resolves PR2338, and is progress towards PR6627, which will be 
generating code that looks similar to test2.

llvm-svn: 130241
2011-04-26 20:45:33 +00:00
..
2003-05-29-ArrayFail.ll
2003-09-12-IncorrectPromote.ll
2003-10-29-ArrayProblem.ll
2006-11-07-InvalidArrayPromote.ll
2007-05-24-LargeAggregate.ll
2007-05-29-MemcpyPreserve.ll
2007-11-03-bigendian_apint.ll
2008-01-29-PromoteBug.ll Add native integer type TargetData to some existing tests. 2011-03-16 00:13:40 +00:00
2008-02-28-SubElementExtractCrash.ll
2008-06-05-loadstore-agg.ll Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
2008-06-22-LargeArray.ll
2008-08-22-out-of-range-array-promote.ll
2008-09-22-vector-gep.ll
2009-02-02-ScalarPromoteOutOfRange.ll
2009-02-05-LoadFCA.ll
2009-03-04-MemCpyAlign.ll
2009-03-05-Aggre2Scalar-dbg.ll
2009-12-11-NeonTypes.ll Remove arm_apcscc from the test files. It is the default and doing this 2010-06-17 15:18:27 +00:00
2010-01-18-SelfCopy.ll Remove arm_apcscc from the test files. It is the default and doing this 2010-06-17 15:18:27 +00:00
AggregatePromote.ll
DifferingTypes.ll
address-space.ll Fix the second half of PR7437: scalarrepl wasn't preserving 2010-07-08 00:27:05 +00:00
arraytest.ll
badarray.ll fix PR5436 by making the 'simple' case of SRoA not promote out of range 2009-11-27 16:37:41 +00:00
basictest.ll if an alloca is only ever accessed as a unit, and is accessed with load/store instructions, 2011-01-16 06:18:28 +00:00
bitfield-sroa.ll
copy-aggregate.ll Extend SROA to handle arrays accessed as homogeneous structs and vice versa. 2011-01-13 17:45:11 +00:00
crash.ll merge all the "crash tests" into crash.ll 2011-01-24 03:37:34 +00:00
debuginfo.ll
dg.exp make a couple of changes to the standard pass pipeline: 2011-04-26 20:45:33 +00:00
inline-vector.ll Do some simple copy propagation through integer loads and stores when promoting 2011-03-29 05:19:52 +00:00
load-store-aggregate.ll
memcpy-align.ll Remove the arm_aapcscc marker from the tests. It is the default 2010-06-15 19:04:29 +00:00
memcpy-from-global.ll allow eliminating an alloca that is just copied from an constant global 2010-11-18 06:41:51 +00:00
memset-aggregate-byte-leader.ll
memset-aggregate.ll
nonzero-first-index.ll Generalize SROA to allow the first index of a GEP to be non-zero. Add a 2009-12-22 06:57:14 +00:00
not-a-vector.ll
only-memcpy-uses.ll Only convert allocas to scalars if it is profitable. The profitability metric I 2011-03-16 00:13:44 +00:00
phi-select.ll enhance SRoA to promote allocas that are used by PHI nodes. This often 2011-01-24 01:07:11 +00:00
phinodepromote.ll
select_promote.ll
sroa-fca.ll
sroa_two.ll
union-fp-int.ll
union-packed.ll
union-pointer.ll Add native integer type TargetData to some existing tests. 2011-03-16 00:13:40 +00:00
vector_memcpy.ll
vector_promote.ll Fix another case of <rdar://problem/9184212> that only occurs with code 2011-04-20 21:48:38 +00:00
volatile.ll