diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-03 13:34:49 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-03 13:34:49 +0000 |
commit | fb54ef7ccb98fc1c10a1662869dab0a3ab52a35a (patch) | |
tree | 1a926b9bc202452ffb1c89f9db59da5c72ea357e /gcc/cfgloop.h | |
parent | 136305f40bec39c518bec801bcb454cf483005f3 (diff) | |
download | gcc-fb54ef7ccb98fc1c10a1662869dab0a3ab52a35a.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102687 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r-- | gcc/cfgloop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index 34cebe2ce3c..0bfb8d87a9e 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -298,6 +298,8 @@ extern bool can_duplicate_loop_p (struct loop *loop); duplicate_loop_to_header_edge. */ #define DLTHE_RECORD_COPY_NUMBER 2 /* Record copy number in the aux field of newly create BB. */ +#define DLTHE_FLAG_COMPLETTE_PEEL 4 /* Update frequencies expecting + a complette peeling. */ extern struct loop * duplicate_loop (struct loops *, struct loop *, struct loop *); |