gimple-ssa-strength-reduction.c (MAX_INCR_VEC_LEN): New constant.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Tue, 7 May 2013 14:11:21 +0000 (14:11 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Tue, 7 May 2013 14:11:21 +0000 (14:11 +0000)
commit7bf55a70ea2a606b387b8c8012dea8caa1f1502d
treee23ee68c7be1be702c26f701e119cc174417b0ab
parent3f8825c030327ba848489938822ce84659adb15c
gimple-ssa-strength-reduction.c (MAX_INCR_VEC_LEN): New constant.

2013-05-07  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gimple-ssa-strength-reduction.c (MAX_INCR_VEC_LEN): New constant.
(incr_vec_index): Return -1 if increment not found.
(create_add_on_incoming_edge): Assert if increment not found.
(record_increment): Limit number of increments recorded.
(all_phi_incrs_profitable): Return false if an increment not found.
(replace_profitable_candidates): Don't process increments that were
not recorded.
(analyze_candidates_and_replace): Limit size of incr_vec.

From-SVN: r198682
gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c