diff options
author | Jan Hubicka <jh@suse.cz> | 2005-08-03 13:34:49 +0000 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2005-08-03 13:34:49 +0000 |
commit | a57bfd447224fc07b4eca37e892864049dd750c3 (patch) | |
tree | 1a926b9bc202452ffb1c89f9db59da5c72ea357e /gcc/cfgloop.h | |
parent | 9b707b4f7904a4a5b10b1a035bd83d7fb12868bd (diff) |
* 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: https://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 *); |