]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
s390: Remove min-vect-loop-bound override
authorJuergen Christ <jchrist@linux.ibm.com>
Tue, 8 Jul 2025 16:59:26 +0000 (18:59 +0200)
committerJuergen Christ <jchrist@linux.ibm.com>
Mon, 14 Jul 2025 15:16:53 +0000 (17:16 +0200)
The default setting of s390 for the parameter min-vect-loop-bound was
set to 2 to prevent certain epilogue loop vectorizations in the past.
Reevaluation of this parameter shows that this setting now is not
needed anymore and sometimes even harmful.  Remove the overwrite to
align s390 with other backends.

Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
gcc/ChangeLog:

* config/s390/s390.cc (s390_option_override_internal): Remove override.

gcc/config/s390/s390.cc

index de9c15c7bd428f7f35fb0898df0e0fd3766f6fcd..737b176766a2412e90104692405830db3531cc1c 100644 (file)
@@ -16566,9 +16566,6 @@ s390_option_override_internal (struct gcc_options *opts,
   else
     SET_OPTION_IF_UNSET (opts, opts_set, param_vect_partial_vector_usage, 0);
 
-  /* Do not vectorize loops with a low trip count for now.  */
-  SET_OPTION_IF_UNSET (opts, opts_set, param_min_vect_loop_bound, 2);
-
   /* Set the default alignment.  */
   s390_default_align (opts);