diff options
author | Richard Biener <rguenther@suse.de> | 2020-11-11 11:51:59 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-11-11 12:51:40 +0100 |
commit | bd87cc14ebdb6789e067fb1828d5808407c308b3 (patch) | |
tree | b8a9996427f6fef9253105e725212f444c7bb178 /gcc/params.opt | |
parent | 46c705e70e078f6a1920d92e49042125d5e18495 (diff) | |
download | gcc-bd87cc14ebdb6789e067fb1828d5808407c308b3.zip gcc-bd87cc14ebdb6789e067fb1828d5808407c308b3.tar.gz gcc-bd87cc14ebdb6789e067fb1828d5808407c308b3.tar.bz2 |
tree-optimization/97623 - Avoid PRE hoist insertion iteration
The recent previous change in this area limited hoist insertion
iteration via a param but the following is IMHO better since
we are not really interested in PRE opportunities exposed by
hoisting but only the other way around. So this moves hoist
insertion after PRE iteration finished and removes hoist
insertion iteration alltogether.
2020-11-11 Richard Biener <rguenther@suse.de>
PR tree-optimization/97623
* params.opt (-param=max-pre-hoist-insert-iterations): Remove
again.
* doc/invoke.texi (max-pre-hoist-insert-iterations): Likewise.
* tree-ssa-pre.c (insert): Move hoist insertion after PRE
insertion iteration and do not iterate it.
* gcc.dg/tree-ssa/ssa-hoist-3.c: Adjust.
* gcc.dg/tree-ssa/ssa-hoist-7.c: Likewise.
* gcc.dg/tree-ssa/ssa-pre-30.c: Likewise.
Diffstat (limited to 'gcc/params.opt')
-rw-r--r-- | gcc/params.opt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/params.opt b/gcc/params.opt index a33a371..7bac39a 100644 --- a/gcc/params.opt +++ b/gcc/params.opt @@ -597,10 +597,6 @@ Maximum depth of sqrt chains to use when synthesizing exponentiation by a real c Common Joined UInteger Var(param_max_predicted_iterations) Init(100) IntegerRange(0, 65536) Param Optimization The maximum number of loop iterations we predict statically. --param=max-pre-hoist-insert-iterations= -Common Joined UInteger Var(param_max_pre_hoist_insert_iterations) Init(3) Param Optimization -The maximum number of insert iterations done for PRE code hoisting. - -param=max-reload-search-insns= Common Joined UInteger Var(param_max_reload_search_insns) Init(100) Param Optimization The maximum number of instructions to search backward when looking for equivalent reload. |