diff mbox series

[3/5] Reduce single-lane SLP testresult noise

Message ID 20240524134301.72A4113A7E@imap1.dmz-prg2.suse.org
State New
Headers show
Series [1/5] Do single-lane SLP discovery for reductions | expand

Commit Message

Richard Biener May 24, 2024, 1:43 p.m. UTC
The following avoids dumping 'vectorizing stmts using SLP' for
single-lane instances since that causes extra testsuite fallout.

	* tree-vect-slp.cc (vect_schedule_slp): Gate dumping
	'vectorizing stmts using SLP' on > 1 lanes.
---
 gcc/tree-vect-slp.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc
index 73cc69d85ce..ebb71c209eb 100644
--- a/gcc/tree-vect-slp.cc
+++ b/gcc/tree-vect-slp.cc
@@ -10098,7 +10098,8 @@  vect_schedule_slp (vec_info *vinfo, const vec<slp_instance> &slp_instances)
       if (!SLP_INSTANCE_ROOT_STMTS (instance).is_empty ())
 	vectorize_slp_instance_root_stmt (node, instance);
 
-      if (dump_enabled_p ())
+      /* ???  Reduce some testsuite noise because of "more SLP".  */
+      if (SLP_TREE_LANES (node) > 1 && dump_enabled_p ())
 	dump_printf_loc (MSG_NOTE, vect_location,
                          "vectorizing stmts using SLP.\n");
     }