]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove --param vect-force-slp
authorRichard Biener <rguenther@suse.de>
Thu, 30 Jan 2025 10:42:51 +0000 (11:42 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 28 Apr 2025 09:22:35 +0000 (11:22 +0200)
The following removes the ability to switch back to non SLP-only
operation of the vectorizer - a requirement to start cleaning out
non-SLP paths without risk of regressing that case.

* params.opt (--param=vect-force-slp): Remove.
* doc/invoke.texi (--param=vect-force-slp): Likewise.
* tree-vect-loop.cc (vect_analyze_loop_2): Assume
param_vect_force_slp is 1.
* tree-vect-stmts.cc (vect_analyze_stmt): Likewise.

gcc/doc/invoke.texi
gcc/params.opt
gcc/tree-vect-loop.cc
gcc/tree-vect-stmts.cc

index a0f60e736e18e22755eba40cffdb734108476770..5b1861815de0d5997af4ef5168b3c2aabc25329b 100644 (file)
@@ -17225,9 +17225,6 @@ this parameter.  The default value of this parameter is 50.
 @item vect-induction-float
 Enable loop vectorization of floating point inductions.
 
-@item vect-force-slp
-Force the use of SLP when vectorizing, fail if not possible.
-
 @item vrp-block-limit
 Maximum number of basic blocks before VRP switches to a lower memory algorithm.
 
index ef19051286be9c11717104a4e73f25d674a9fbb8..1f0abeccc4b9b439ad4a4add6257b4e50962863d 100644 (file)
@@ -1253,10 +1253,6 @@ The maximum factor which the loop vectorizer applies to the cost of statements i
 Common Joined UInteger Var(param_vect_induction_float) Init(1) IntegerRange(0, 1) Param Optimization
 Enable loop vectorization of floating point inductions.
 
--param=vect-force-slp=
-Common Joined UInteger Var(param_vect_force_slp) Init(1) IntegerRange(0, 1) Param Optimization
-Force the use of SLP when vectorizing, fail if not possible.
-
 -param=vrp-block-limit=
 Common Joined UInteger Var(param_vrp_block_limit) Init(150000) Optimization Param
 Maximum number of basic blocks before VRP switches to a fast model with less memory requirements.
index 1c9e9b040d01fff9103c16e374b52d68991cf7de..5ec164bd60265ed34bf9eefe7d015ff2c3b9f540 100644 (file)
@@ -2934,7 +2934,7 @@ start_over:
 
   /* When we arrive here with SLP disabled and we are supposed
      to use SLP for everything fail vectorization.  */
-  if (!slp && param_vect_force_slp)
+  if (!slp)
     return opt_result::failure_at (vect_location,
                                   "may need non-SLP handling\n");
 
index 5af1973734e20b22d81e1624933d8265448c1e1a..61456b1f3b70e3657458b7bfe7284167c962e382 100644 (file)
@@ -14022,7 +14022,7 @@ vect_analyze_stmt (vec_info *vinfo,
 
   /* When we arrive here with a non-SLP statement and we are supposed
      to use SLP for everything fail vectorization.  */
-  if (!node && param_vect_force_slp)
+  if (!node)
     return opt_result::failure_at (stmt_info->stmt,
                                   "needs non-SLP handling\n");