revert: re PR tree-optimization/41488 (IVOpts cannot coalesce multiple induction...
authorBin Cheng <bin.cheng@arm.com>
Wed, 11 Dec 2013 00:58:35 +0000 (00:58 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 11 Dec 2013 00:58:35 +0000 (00:58 +0000)
commitba8267926cfcaddc979ba021882ba2ff2f50003d
tree236c3dba6a88690d334b7d85fcc3c68956a01890
parent748a18534a1e52304770795890c932045312896a
revert: re PR tree-optimization/41488 (IVOpts cannot coalesce multiple induction variables)

Reverted:
2013-12-10  Bin Cheng  <bin.cheng@arm.com>
PR tree-optimization/41488
* tree-ssa-loop-ivopts.c (add_old_iv_candidates): Don't add cand
for PEELED_CHREC kind IV.
* tree-scalar-evolution.c: Include necessary header files.
(peeled_chrec_map, simplify_peeled_chrec): New.
(analyze_evolution_in_loop): New static variable.
Call simplify_peeled_chrec.
(scev_initialize): Initialize peeled_chrec_map.
(scev_reset, scev_finalize): Reset and release peeled_chrec_map.

Reverted:
2013-12-10  Bin Cheng  <bin.cheng@arm.com>
PR tree-optimization/41488
* gcc.dg/tree-ssa/scev-7.c: New test.
* gcc.dg/pr41488.c: New test.

From-SVN: r205880
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr41488.c [deleted file]
gcc/testsuite/gcc.dg/tree-ssa/scev-7.c [deleted file]
gcc/tree-scalar-evolution.c
gcc/tree-ssa-loop-ivopts.c