diff options
author | Bin Cheng <bin.cheng@arm.com> | 2013-12-10 06:31:41 +0000 |
---|---|---|
committer | Bin Cheng <amker@gcc.gnu.org> | 2013-12-10 06:31:41 +0000 |
commit | f644a018e3452a41cb4ce49cb47179845a63b546 (patch) | |
tree | d09b43ffc879c38e2b20679506d9a4707fdd5ea0 /gcc/tree-vectorizer.c | |
parent | 3a4efce7c246b190ef35a8ce1f108f572274521f (diff) | |
download | gcc-f644a018e3452a41cb4ce49cb47179845a63b546.zip gcc-f644a018e3452a41cb4ce49cb47179845a63b546.tar.gz gcc-f644a018e3452a41cb4ce49cb47179845a63b546.tar.bz2 |
re PR tree-optimization/41488 (IVOpts cannot coalesce multiple induction variables)
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.
PR tree-optimization/41488
* gcc.dg/tree-ssa/scev-7.c: New test.
* gcc.dg/pr41488.c: New test.
From-SVN: r205848
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions