llvm-6502/test/Transforms/LoopStrengthReduce
Quentin Colombet 5a2fb058d3 LSR: Fix the parameters used to compute the scaling factor cost.
Prior to this change, the considered addressing modes may be invalid since the
maximum and minimum offsets were not taking into account.
This was causing an assertion failure.

The added test case exercices that behavior.

<rdar://problem/14199725> Assertion failed: (CurScaleCost >= 0 && "Legal
addressing mode has an illegal cost!")


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184341 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-19 19:59:41 +00:00
..
ARM TBAA: remove !tbaa from testing cases if not used. 2013-05-02 18:11:35 +00:00
X86 Track IR ordering of SelectionDAG nodes 3/4. 2013-05-25 03:08:10 +00:00
2005-08-15-AddRecIV.ll
2005-08-17-OutOfLoopVariant.ll
2005-09-12-UsesOutOutsideOfLoop.ll
2007-04-23-UseIterator.ll
2008-08-13-CmpStride.ll
2008-09-09-Overflow.ll
2009-01-13-nonconstant-stride-outside-loop.ll
2009-04-28-no-reduce-mul.ll
2011-07-19-CritEdgeBreakCrash.ll
2011-10-03-CritEdgeMerge.ll
2011-10-06-ReusePhi.ll
2011-10-13-SCEVChain.ll
2011-10-14-IntPtr.ll
2011-12-19-PostincQuadratic.ll
2012-01-02-nopreheader.ll
2012-01-16-nopreheader.ll
2012-03-15-nopreheader.ll
2012-03-26-constexpr.ll
2012-07-13-ExpandUDiv.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
2012-07-18-LimitReassociate.ll Remove triple from this test, it makes it fail when X86 TTI is missing. 2013-01-16 13:19:59 +00:00
2013-01-05-IndBr.ll
2013-01-14-ReuseCast.ll Modify how the formulae are rated in Loop Strength Reduce. 2013-05-31 17:20:29 +00:00
addrec-gep.ll
count-to-zero.ll
dead-phi.ll
different-type-ivs.ll
dominate-assert.ll
dont_insert_redundant_ops.ll
dont_reduce_bytes.ll
dont_reverse.ll
dont-hoist-simple-loop-constants.ll
exit_compare_live_range.ll
hoist-parent-preheader.ll
invariant_value_first_arg.ll
invariant_value_first.ll
ivchain.ll
lit.local.cfg
nested-reduce.ll
nonlinear-postinc.ll
ops_after_indvar.ll
phi_node_update_multiple_preds.ll
post-inc-icmpzero.ll Remove target triple from an LSR test. 2013-01-22 00:57:16 +00:00
pr2537.ll
pr2570.ll
pr3086.ll
pr3399.ll
pr3571.ll
pr12018.ll
pr12048.ll
pr12691.ll
preserve-gep-loop-variant.ll
quadradic-exit-value.ll
related_indvars.ll
remove_indvar.ll
scaling_factor_cost_crash.ll LSR: Fix the parameters used to compute the scaling factor cost. 2013-06-19 19:59:41 +00:00
share_code_in_preheader.ll
share_ivs.ll
uglygep.ll Modify how the formulae are rated in Loop Strength Reduce. 2013-05-31 17:20:29 +00:00
use_postinc_value_outside_loop.ll
var_stride_used_by_compare.ll
variable_stride.ll