diff options
author | Richard Biener <rguenther@suse.de> | 2023-09-20 08:40:34 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-09-20 11:20:24 +0200 |
commit | b8a2a12464d25c45a51c14a025e8e2d3ca8ebeb0 (patch) | |
tree | 624fd91c9062420e7ade7e656eb677d36d5763d6 /gcc/doc | |
parent | 47ecac52bd4cae84dc786731c655c3bfe1ade377 (diff) | |
download | gcc-b8a2a12464d25c45a51c14a025e8e2d3ca8ebeb0.zip gcc-b8a2a12464d25c45a51c14a025e8e2d3ca8ebeb0.tar.gz gcc-b8a2a12464d25c45a51c14a025e8e2d3ca8ebeb0.tar.bz2 |
tree-optimization/111489 - turn uninit limits to params
The following turns MAX_NUM_CHAINS and MAX_CHAIN_LEN to params which
allows to experiment with raising them. For the testcase in PR111489
raising MAX_CHAIN_LEN from 5 to 8 avoids the bogus diagnostics
at -O2, at -O3 we need a MAX_CHAIN_LEN of 6.
PR tree-optimization/111489
* doc/invoke.texi (--param uninit-max-chain-len): Document.
(--param uninit-max-num-chains): Likewise.
* params.opt (-param=uninit-max-chain-len=): New.
(-param=uninit-max-num-chains=): Likewise.
* gimple-predicate-analysis.cc (MAX_NUM_CHAINS): Define to
param_uninit_max_num_chains.
(MAX_CHAIN_LEN): Define to param_uninit_max_chain_len.
(uninit_analysis::init_use_preds): Avoid VLA.
(uninit_analysis::init_from_phi_def): Likewise.
(compute_control_dep_chain): Avoid using MAX_CHAIN_LEN in
template parameter.
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 09b2b92..ba7984b 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -16348,6 +16348,13 @@ crossing a loop backedge when comparing to Maximum number of nested calls to search for control dependencies during uninitialized variable analysis. +@item uninit-max-chain-len +Maximum number of predicates anded for each predicate ored in the normalized +predicate chain. + +@item uninit-max-num-chains +Maximum number of predicates ored in the normalized predicate chain. + @item sched-autopref-queue-depth Hardware autoprefetcher scheduler model control flag. Number of lookahead cycles the model looks into; at ' |