cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag.
authorJan Hubicka <jh@suse.cz>
Wed, 3 Aug 2005 13:34:49 +0000 (15:34 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 3 Aug 2005 13:34:49 +0000 (13:34 +0000)
commit178df94ff18a589455749496b4cd6888feb567b0
tree1a926b9bc202452ffb1c89f9db59da5c72ea357e
parent4164b2fb1628493c3b529b1e9ee045a504f44a0e
cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag.

* cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag.
* cfgloopmanip.c (duplicate_loop_to_header_edge): Special case
profile updating for complette unrolling.
* loop-unroll.c (peel_loop_completely): Use it.
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise.
(tree_unroll_loops_completely): Disable code growing unrolling of cold
loops.

* update-conroll.c: New testcase.
* update-conroll-2.c: New testcase.

From-SVN: r102687
gcc/ChangeLog
gcc/cfgloop.h
gcc/cfgloopmanip.c
gcc/loop-unroll.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/update-cunroll-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/update-cunroll.c [new file with mode: 0644]
gcc/tree-ssa-loop-ivcanon.c