diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-13 13:41:03 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-13 13:41:03 +0000 |
commit | b89c219cc66714b765144e85ec0072a2c5a23f26 (patch) | |
tree | 63481903a2a1e2fc61101558fa5703b5c7af933d /gcc/params.h | |
parent | 49a8ca48cb7779085a05ae26f9eadff7f931d77e (diff) | |
download | gcc-b89c219cc66714b765144e85ec0072a2c5a23f26.tar.gz |
* PR rtl-optimization/39077
* doc/invoke.texi (max-gcse-insertion-ratio): Document.
* params.h (MAX_GCSE_INSERTION_RATIO): Define.
* params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
* lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
* gcse.c (prune_insertions_deletions): New function.
(compute_pre_data): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168747 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.h')
-rw-r--r-- | gcc/params.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/params.h b/gcc/params.h index 5aeb3ef47d7..e36a5ea3406 100644 --- a/gcc/params.h +++ b/gcc/params.h @@ -1,5 +1,5 @@ /* params.h - Run-time parameters. - Copyright (C) 2001, 2003, 2004, 2005, 2007, 2008, 2009, 2010 + Copyright (C) 2001, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Written by Mark Mitchell <mark@codesourcery.com>. @@ -142,6 +142,8 @@ extern void init_param_values (int *params); PARAM_VALUE (PARAM_MAX_PENDING_LIST_LENGTH) #define MAX_GCSE_MEMORY \ ((size_t) PARAM_VALUE (PARAM_MAX_GCSE_MEMORY)) +#define MAX_GCSE_INSERTION_RATIO \ + ((size_t) PARAM_VALUE (PARAM_MAX_GCSE_INSERTION_RATIO)) #define GCSE_AFTER_RELOAD_PARTIAL_FRACTION \ PARAM_VALUE (PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION) #define GCSE_AFTER_RELOAD_CRITICAL_FRACTION \ |