loop-unroll.c (decide_unroll_constant_iterations, [...]): Use likely upper bounds.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 1 Jun 2016 12:01:17 +0000 (14:01 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 1 Jun 2016 12:01:17 +0000 (12:01 +0000)
commit8c38360082278de6400ac277e15f75edecc8eb39
treeae7e412f842bbcac3d8dcd2c7ef4fe40679efea6
parent268143a480cf8e4142db3ebb2dadaf924f6f3303
loop-unroll.c (decide_unroll_constant_iterations, [...]): Use likely upper bounds.

* loop-unroll.c (decide_unroll_constant_iterations,
decide_unroll_runtime_iterations, decide_unroll_stupid): Use
likely upper bounds.
* loop-iv.c (find_simple_exit): Dump likely upper bounds.

* gcc.dg/unroll-6.c: Update template.
* gcc.dg/unroll-7.c: New testcase.
* gcc.dg/unroll-8.c: New testcase.

From-SVN: r236986
gcc/ChangeLog
gcc/loop-iv.c
gcc/loop-unroll.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/unroll-6.c
gcc/testsuite/gcc.dg/unroll-7.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/unroll-8.c [new file with mode: 0644]