re PR tree-optimization/83202 (Try joining operations on consecutive array elements...
authorRichard Biener <rguenther@suse.de>
Thu, 30 Nov 2017 07:53:31 +0000 (07:53 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 30 Nov 2017 07:53:31 +0000 (07:53 +0000)
commita52206ae28ed3e55d601118bedd52739456401ab
tree5ff55ff4e22b73b4349ddd2dae89d9da6e9ded2c
parent222353edef6528ab5ff0f3c029425e76e7048fd8
re PR tree-optimization/83202 (Try joining operations on consecutive array elements during tree vectorization)

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.

From-SVN: r255267
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