predict.h (force_edge_cold): Declare.
authorJan Hubicka <hubicka@ucw.cz>
Mon, 30 May 2016 10:40:33 +0000 (12:40 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 30 May 2016 10:40:33 +0000 (10:40 +0000)
commit98bdbb39a6676776c528f3b51ce740669c06d708
tree70d2283e17b094627b83cbfbd240e80625f370dd
parentd5cf3d8da6ef568929fc8bdfc1809593ff1988a8
predict.h (force_edge_cold): Declare.

* predict.h (force_edge_cold): Declare.
* predict.c (force_edge_cold): New function.
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Fix profile
updating.
(canonicalize_loop_induction_variables): Fix formating.

* gcc.dg/tree-ssa/cunroll-12.c: New testcase.
* gcc.dg/tree-ssa/cunroll-13.c: New testcase.
* gcc.dg/tree-ssa/cunroll-14.c: New testcase.

From-SVN: r236874
gcc/ChangeLog
gcc/predict.c
gcc/predict.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/cunroll-12.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/cunroll-13.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/cunroll-14.c [new file with mode: 0644]
gcc/tree-ssa-loop-ivcanon.c