diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-21 08:48:55 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-21 08:48:55 +0000 |
commit | a89ef955863b1fcc19f862bf6c15b02650040f67 (patch) | |
tree | f3f2b4031060687272842eac011220d90325c975 /gcc/params.def | |
parent | 0e2551653f01c4cc2cbe2bc67c2711fe73f37a02 (diff) | |
download | gcc-a89ef955863b1fcc19f862bf6c15b02650040f67.tar.gz |
PR/20742
* Makefile.in (tree-chrec.o): Depend on params.h.
* params.def (PARAM_SCEV_MAX_EXPR_SIZE): New parameter with
default value 20.
* tree-chrec.c: Depend on params.h. Replace build with buildN,
and fold build with fold_buildN.
(chrec_fold_plus_1): Fail with a chrec_don_know when the size of
the expression exceeds PARAM_SCEV_MAX_EXPR_SIZE.
(tree_contains_chrecs): Compute an estimation of the size of the
given expression.
* tree-chrec.h (tree_contains_chrecs): Modify its declaration.
(tree_does_not_contain_chrecs): Update the use of tree_contains_chrecs.
* tree-scalar-evolution.c (simple_iv): Ditto.
* doc/invoke.texi (scev-max-expr-size): Documented.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98497 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index 6a90a02bae6..f2b25c0d450 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -372,6 +372,11 @@ DEFPARAM(PARAM_IV_ALWAYS_PRUNE_CAND_SET_BOUND, "If number of candidates in the set is smaller, we always try to remove unused ivs during its optimization", 10, 0, 0) +DEFPARAM(PARAM_SCEV_MAX_EXPR_SIZE, + "scev-max-expr-size", + "Bound on size of expressions used in the scalar evolutions analyzer", + 20, 0, 0) + /* The product of the next two is used to decide whether or not to use .GLOBAL_VAR. See tree-dfa.c. */ DEFPARAM(PARAM_GLOBAL_VAR_THRESHOLD, |