llvm-6502/test/Transforms/LoopStrengthReduce/X86
Arnold Schwaighofer 2ced33808e SCEVExpander: Try hard not to create derived induction variables in other loops
During LSR of one loop we can run into a situation where we have to expand the
start of a recurrence of a loop induction variable in this loop. This start
value is a value derived of the induction variable of a preceeding loop. SCEV
has cannonicalized this value to a different recurrence than the recurrence of
the preceeding loop's induction variable (the type and/or step direction) has
changed). When we come to instantiate this SCEV we created a second induction
variable in this preceeding loop.  This patch tries to base such derived
induction variables of the preceeding loop's induction variable.

This helps twolf on arm and seems to help scimark2 on x86.

Reapply with a fix for the case of a value derived from a pointer.

radar://15970709

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201496 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-16 15:49:50 +00:00
..
2008-08-14-ShadowIV.ll
2009-11-10-LSRCrash.ll
2011-07-20-DoubleIV.ll Update Transforms tests to use CHECK-LABEL for easier debugging. No functionality change. 2013-07-14 01:42:54 +00:00
2011-11-29-postincphi.ll Track IR ordering of SelectionDAG nodes 3/4. 2013-05-25 03:08:10 +00:00
2011-12-04-loserreg.ll Fix "existant" typos 2013-10-29 02:35:28 +00:00
2012-01-13-phielim.ll
ivchain-stress-X86.ll
ivchain-X86.ll
lit.local.cfg [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
no_superflous_induction_vars.ll SCEVExpander: Try hard not to create derived induction variables in other loops 2014-02-16 15:49:50 +00:00