llvm/test/Transforms/LoopStrengthReduce
Dan Gohman c17e0cf6c0 Implement "superhero" strength reduction, or full strength
reduction of address calculations down to basic pointer arithmetic.
This is currently off by default, as it needs a few other features
before it becomes generally useful. And even when enabled, full
strength reduction is only performed when it doesn't increase
register pressure, and when several other conditions are true.

This also factors out a bunch of exisiting LSR code out of
StrengthReduceStridedIVUsers into separate functions, and tidies
up IV insertion. This actually decreases register pressure even
in non-superhero mode. The change in iv-users-in-other-loops.ll
is an example of this; there are two more adds because there are
two fewer leas, and there is less spilling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65108 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-20 04:17:46 +00:00
..
2005-08-15-AddRecIV.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
2005-08-17-OutOfLoopVariant.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
2005-09-12-UsesOutOutsideOfLoop.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
2007-04-23-UseIterator.ll New test. 2007-04-23 22:39:53 +00:00
2008-08-06-CmpStride.ll PR2535, not PR2355. 2008-08-06 18:06:48 +00:00
2008-08-13-CmpStride.ll Check sign to detect overflow before changing compare stride. 2008-08-13 02:05:14 +00:00
2008-08-14-ShadowIV.ll If IV is used in a int-to-float cast inside the loop then try to eliminate the cast operation. 2008-08-26 17:57:54 +00:00
2008-09-09-Overflow.ll fix overflow check. 2008-09-09 20:54:34 +00:00
2009-01-13-nonconstant-stride-outside-loop.ll Fix the time regression I introduced in 464.h264ref with 2009-01-14 02:35:31 +00:00
2009-02-09-ivs-different-sizes.ll Fix PR 3471, and some cleanups. 2009-02-09 22:14:15 +00:00
change-compare-stride-trickiness-0.ll Refine the change in r52258 for avoiding use-before-def conditions 2008-06-16 22:34:15 +00:00
change-compare-stride-trickiness-1.ll Refine the change in r52258 for avoiding use-before-def conditions 2008-06-16 22:34:15 +00:00
dead-phi.ll Improve LSR's dead-phi detection to handle use-def cycles 2008-06-22 20:44:02 +00:00
dg.exp sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
different-type-ivs.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
dont_insert_redundant_ops.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
dont_reduce_bytes.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
dont-hoist-simple-loop-constants.ll Update old-style syntax in some "not grep" tests. 2008-05-01 23:50:07 +00:00
exit_compare_live_range.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
invariant_value_first_arg.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
invariant_value_first.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
nested-reduce.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
ops_after_indvar.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
phi_node_update_multiple_preds.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
pr2570.ll Add the PR number to the test. 2008-07-21 21:50:25 +00:00
pr3399.ll Strengthen the "non-constant stride must dominate loop preheader" check. 2009-02-17 00:13:06 +00:00
pr3571.ll Fix pr3571: If stride is a value defined by an instruction, make sure it dominates the loop preheader. When IV users are strength reduced, the stride is inserted into the preheader. It could create a use before def situation. 2009-02-15 06:06:15 +00:00
related_indvars.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
remove_indvar.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
share_code_in_preheader.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
share_ivs.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
use_postinc_value_outside_loop.ll Implement "superhero" strength reduction, or full strength 2009-02-20 04:17:46 +00:00
var_stride_used_by_compare.ll Upgrade tests. 2008-03-19 07:28:33 +00:00
variable_stride.ll Upgrade tests. 2008-03-19 07:28:33 +00:00