diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-03-28 12:16:34 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-03-30 14:17:10 -0400 |
commit | 429a7a88438cc80e7c58d9f63d44838089899b12 (patch) | |
tree | f2389e2d862854ed2a3ee0d466b24ffad589a116 /gcc/params.opt | |
parent | a23b33a1bdeff7bc2289d9ebb7cb7b7ec0a605f5 (diff) | |
download | gcc-429a7a88438cc80e7c58d9f63d44838089899b12.zip gcc-429a7a88438cc80e7c58d9f63d44838089899b12.tar.gz gcc-429a7a88438cc80e7c58d9f63d44838089899b12.tar.bz2 |
Add recursive GORI recompuations with a depth limit.
PR tree-optimization/109154
gcc/
* gimple-range-gori.cc (gori_compute::may_recompute_p): Add depth limit.
* gimple-range-gori.h (may_recompute_p): Add depth param.
* params.opt (ranger-recompute-depth): New param.
gcc/testsuite/
* gcc.dg/Walloca-13.c: Remove bogus warning that is now fixed.
Diffstat (limited to 'gcc/params.opt')
-rw-r--r-- | gcc/params.opt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/params.opt b/gcc/params.opt index 41d8bef..aecc01c 100644 --- a/gcc/params.opt +++ b/gcc/params.opt @@ -908,6 +908,11 @@ Common Joined UInteger Var(param_ranger_logical_depth) Init(6) IntegerRange(1, 9 Maximum depth of logical expression evaluation ranger will look through when evaluating outgoing edge ranges. +-param=ranger-recompute-depth= +Common Joined UInteger Var(param_ranger_recompute_depth) Init(5) IntegerRange(1, 100) Param Optimization +Maximum depth of instruction chains to consider for recomputation in the +outgoing range calculator. + -param=relation-block-limit= Common Joined UInteger Var(param_relation_block_limit) Init(200) IntegerRange(0, 9999) Param Optimization Maximum number of relations the oracle will register in a basic block. |