diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-15 11:17:18 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-15 11:17:18 +0000 |
commit | 883bb2bbc9d7d72a953f5bb685d05c13c4039449 (patch) | |
tree | 760d109441f8836d466cfee8c2c84acab7dcf3e4 /gcc/params.def | |
parent | e7cfe3db2d9b23c69eb5e87c5987eb99744fd663 (diff) | |
download | gcc-883bb2bbc9d7d72a953f5bb685d05c13c4039449.tar.gz |
* params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New.
* loop-doloop.c (doloop_optimize): Use it to limit costs of
expanding the number of iterations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index 6d230fc2cfc..488a4a92b9b 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -292,6 +292,12 @@ DEFPARAM(PARAM_MAX_ITERATIONS_TO_TRACK, "max-iterations-to-track", "Bound on the number of iterations the brute force # of iterations analysis algorithm evaluates", 1000, 0, 0) +/* A cutoff to avoid costly computations of the number of iterations in + the doloop transformation. */ +DEFPARAM(PARAM_MAX_ITERATIONS_COMPUTATION_COST, + "max-iterations-computation-cost", + "Bound on the cost of an expression to compute the number of iterations", + 10, 0, 0) DEFPARAM(PARAM_MAX_SMS_LOOP_NUMBER, "max-sms-loop-number", |