]> gcc.gnu.org Git - gcc.git/commitdiff
Remove --param max-fsm-thread-length
authorRichard Biener <rguenther@suse.de>
Mon, 8 Aug 2022 12:04:43 +0000 (14:04 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 9 Aug 2022 08:14:30 +0000 (10:14 +0200)
This removes max-fsm-thread-length which is obsoleted by
max-jump-thread-paths.

* doc/invoke.texi (max-fsm-thread-length): Remove.
* params.opt (max-fsm-thread-length): Likewise.
* tree-ssa-threadbackward.cc
(back_threader_profitability::profitable_path_p): Do not
check max-fsm-thread-length.

gcc/doc/invoke.texi
gcc/params.opt
gcc/tree-ssa-threadbackward.cc

index f01696696bf4b897bf5e53722f1af3484c661905..58e422041e4bb8de5afaec104932a1a9f100c645 100644 (file)
@@ -15262,9 +15262,6 @@ Emit instrumentation calls to __tsan_func_entry() and __tsan_func_exit().
 Maximum number of instructions to copy when duplicating blocks on a
 finite state automaton jump thread path.
 
-@item max-fsm-thread-length
-Maximum number of basic blocks on a jump thread path.
-
 @item threader-debug
 threader-debug=[none|all] Enables verbose dumping of the threader solver.
 
index 132987343c6c3cf9409d91a089444fd904f5c186..201b5c9f56f5cc7a13cac35366f424c88cf08b9e 100644 (file)
@@ -498,10 +498,6 @@ The maximum number of nested indirect inlining performed by early inliner.
 Common Joined UInteger Var(param_max_fields_for_field_sensitive) Param
 Maximum number of fields in a structure before pointer analysis treats the structure as a single variable.
 
--param=max-fsm-thread-length=
-Common Joined UInteger Var(param_max_fsm_thread_length) Init(10) IntegerRange(1, 999999) Param Optimization
-Maximum number of basic blocks on a jump thread path.
-
 -param=max-fsm-thread-path-insns=
 Common Joined UInteger Var(param_max_fsm_thread_path_insns) Init(100) IntegerRange(1, 999999) Param Optimization
 Maximum number of instructions to copy when duplicating blocks on a finite state automaton jump thread path.
index a5f8f141071a74f95d98b96486a8171964720c16..30047c654fb41d1b2fbec559c77832829aa2f9b3 100644 (file)
@@ -569,15 +569,6 @@ back_threader_profitability::profitable_path_p (const vec<basic_block> &m_path,
   if (m_path.length () <= 1)
       return false;
 
-  if (m_path.length () > (unsigned) param_max_fsm_thread_length)
-    {
-      if (dump_file && (dump_flags & TDF_DETAILS))
-       fprintf (dump_file, "  FAIL: Jump-thread path not considered: "
-                "the number of basic blocks on the path "
-                "exceeds PARAM_MAX_FSM_THREAD_LENGTH.\n");
-      return false;
-    }
-
   int n_insns = 0;
   gimple_stmt_iterator gsi;
   loop_p loop = m_path[0]->loop_father;
This page took 0.095557 seconds and 5 git commands to generate.