2013-11-21 Richard Biener <rguenther@suse.de>
commit48a9035a3bb8cb2ddb21306e5877b47898cb25d8
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Nov 2013 09:15:05 +0000 (21 09:15 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Nov 2013 09:15:05 +0000 (21 09:15 +0000)
tree1f8c0d81378b597d7ea98fdbd5f698eba2cccdf1
parent02b28afa96e15c972ed452fe32f3a0b8eb33c79a
2013-11-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59058
* tree-loop-distribution.c (struct partition_s): Add plus_one
member.
(build_size_arg_loc): Apply niter adjustment here.
(generate_memset_builtin): Adjust.
(generate_memcpy_builtin): Likewise.
(classify_partition): Do not use number_of_exit_cond_executions
but record whether niter needs to be adjusted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205197 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-loop-distribution.c