tree-ssa-loop-ivcanon.c (constant_after_peeling): Do not require sth as strict as...
authorRichard Biener <rguenther@suse.de>
Fri, 21 Apr 2017 08:12:27 +0000 (08:12 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 21 Apr 2017 08:12:27 +0000 (08:12 +0000)
commit7fd1a7474a04fdf68e3b1645de16bcfa45a915d0
treebf12092837149c783d0f8f9f6414f5a29a9857a6
parent2f23a412086f3ecaee7007ae85033e5bc3b70609
tree-ssa-loop-ivcanon.c (constant_after_peeling): Do not require sth as strict as a simple_iv but a chrec without symbols and an...

2016-04-21  Richard Biener  <rguenther@suse.de>

* tree-ssa-loop-ivcanon.c (constant_after_peeling): Do not require
sth as strict as a simple_iv but a chrec without symbols and an
operand defined in the loop we are peeling (and not some subloop).
(propagate_constants_for_unrolling): Propagate all constants.

* gcc.dg/vect/no-scevccp-outer-13.c: Adjust to prevent unrolling
of inner loops.
* gcc.dg/vect/no-scevccp-outer-7.c: Likewise.
* gcc.dg/vect/vect-104.c: Likewise.

From-SVN: r247048
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/no-scevccp-outer-13.c
gcc/testsuite/gcc.dg/vect/no-scevccp-outer-7.c
gcc/testsuite/gcc.dg/vect/vect-104.c
gcc/tree-ssa-loop-ivcanon.c