diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-09-11 12:23:25 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-09-11 12:23:25 +0000 |
commit | 532240e470e158080626425fc37d31a286154205 (patch) | |
tree | 3a554aee711b2212e5a769dd87e1616f33de6dbb /gcc/params.def | |
parent | 1feb112c661cd2c84c6ce8b3c1019e1c5f13b3c8 (diff) |
2012-09-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/55492
* doc/invoke.texi (max-slsr-cand-scan): New description.
* gimple-ssa-strength-reduction.c (find_basis_for_candidate): Limit
the time spent searching for a basis.
* params.def (PARAM_MAX_SLSR_CANDIDATE_SCAN): New param.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@191178 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index c7f27fe9d99..a4c930b9e3c 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -979,6 +979,13 @@ DEFPARAM (PARAM_SCHED_PRESSURE_ALGORITHM, "Which -fsched-pressure algorithm to apply", 1, 1, 2) +/* Maximum length of candidate scans in straight-line strength reduction. */ +DEFPARAM (PARAM_MAX_SLSR_CANDIDATE_SCAN, + "max-slsr-cand-scan", + "Maximum length of candidate scans for straight-line " + "strength reduction", + 50, 1, 999999) + /* Local variables: mode:c |