llvm/test/Transforms/LoopStrengthReduce
Andrew Trick 5fd5b125ff Avoid creating canonical induction variables for non-native types.
For example, on 32-bit architecture, don't promote all uses of the IV
to 64-bits just because one use is a 64-bit cast.
Alternate implementation of the patch by Arnaud de Grandmaison.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127884 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-18 16:50:32 +00:00
..
2005-08-15-AddRecIV.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2005-08-17-OutOfLoopVariant.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2005-09-12-UsesOutOutsideOfLoop.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2007-04-23-UseIterator.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2008-08-13-CmpStride.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2008-08-14-ShadowIV.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2008-09-09-Overflow.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2009-01-13-nonconstant-stride-outside-loop.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
2009-04-28-no-reduce-mul.ll Make several tests less fragile. 2010-01-12 04:52:47 +00:00
2009-11-10-LSRCrash.ll Block terminator may be a switch. 2009-11-11 00:00:21 +00:00
count-to-zero.ll Reapply the new LoopStrengthReduction code, with compile time and 2010-02-12 10:34:29 +00:00
dead-phi.ll Use opt -S instead of piping bitcode output through llvm-dis. 2009-09-08 22:34:10 +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 Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
dont_insert_redundant_ops.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
dont_reduce_bytes.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
dont_reverse.ll Make several tests less fragile. 2010-01-12 04:52:47 +00:00
dont-hoist-simple-loop-constants.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
exit_compare_live_range.ll tighten test. 2009-09-07 22:15:23 +00:00
hoist-parent-preheader.ll Add a test for the LSR issue exposed by r125254. 2011-02-11 00:49:27 +00:00
invariant_value_first_arg.ll Avoid creating canonical induction variables for non-native types. 2011-03-18 16:50:32 +00:00
invariant_value_first.ll Avoid creating canonical induction variables for non-native types. 2011-03-18 16:50:32 +00:00
nested-reduce.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
nonlinear-postinc.ll Non-affine post-inc SCEV expansions have more code which must be 2010-03-02 01:59:21 +00:00
ops_after_indvar.ll Avoid creating canonical induction variables for non-native types. 2011-03-18 16:50:32 +00:00
phi_node_update_multiple_preds.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
pr2537.ll add newlines at the end of files. 2010-04-07 22:53:17 +00:00
pr2570.ll Teach RecursivelyDeleteDeadPHINodes to handle multiple self-references. Patch 2011-02-20 08:38:20 +00:00
pr3086.ll -disable-output is no longer needed with -analyze. 2010-01-26 19:25:59 +00:00
pr3399.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
pr3571.ll Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
quadradic-exit-value.ll Generalize IVUsers to track arbitrary expressions rather than expressions 2010-04-07 22:27:08 +00:00
related_indvars.ll Add nounwinds. 2010-01-19 21:51:51 +00:00
remove_indvar.ll Reapply the new LoopStrengthReduction code, with compile time and 2010-02-12 10:34:29 +00:00
share_code_in_preheader.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
share_ivs.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
uglygep.ll Move x86-specific tests out of test/Transforms/LoopStrengthReduce and 2010-08-05 17:04:15 +00:00
use_postinc_value_outside_loop.ll Reapply the new LoopStrengthReduction code, with compile time and 2010-02-12 10:34:29 +00:00
var_stride_used_by_compare.ll Avoid creating canonical induction variables for non-native types. 2011-03-18 16:50:32 +00:00
variable_stride.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00