2016-04-21 Richard Biener <rguenther@suse.de>
commitc39eea149f6e6ed9eb448dd232577f1f0790a8b1
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Apr 2017 08:12:27 +0000 (21 08:12 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Apr 2017 08:12:27 +0000 (21 08:12 +0000)
treebf12092837149c783d0f8f9f6414f5a29a9857a6
parent82a74e8820d876ffe09e06040ce675de0557b9c9
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247048 138bc75d-0d04-0410-961f-82ee72b054a4
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