2017-11-30 Richard Biener <rguenther@suse.de>
commit866fc6a0d7c96c0d2a03733fa207c4d0c0424d1a
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Nov 2017 07:53:31 +0000 (30 07:53 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Nov 2017 07:53:31 +0000 (30 07:53 +0000)
tree5ff55ff4e22b73b4349ddd2dae89d9da6e9ded2c
parent2baac89379a9595bb8e6a48d7d84cda52aafbab6
2017-11-30  Richard Biener  <rguenther@suse.de>

PR tree-optimization/83202
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Add
allow_peel argument and guard peeling.
(canonicalize_loop_induction_variables): Likewise.
(canonicalize_induction_variables): Pass false.
(tree_unroll_loops_completely_1): Pass unroll_outer to disallow
peeling from cunrolli.

* gcc.dg/vect/pr83202-1.c: New testcase.
* gcc.dg/tree-ssa/pr61743-1.c: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255267 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr61743-1.c
gcc/testsuite/gcc.dg/vect/pr83202-1.c [new file with mode: 0644]
gcc/tree-ssa-loop-ivcanon.c