]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Improve dump when SLP fails to compute lane extraction insertion points
authorRichard Biener <rguenther@suse.de>
Wed, 15 Jul 2026 11:20:55 +0000 (13:20 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 15 Jul 2026 13:47:33 +0000 (15:47 +0200)
The following helps debugging.

* tree-vect-slp.cc (vect_bb_slp_mark_live_stmts): Enhance
dumping in the failure case.

gcc/tree-vect-slp.cc

index ff11b392305db07e7691d8c3dc7e3eee134aa78d..7abf0faa765e678f5560fc7ffb88a5deabfc97a8 100644 (file)
@@ -9082,7 +9082,8 @@ vect_bb_slp_mark_live_stmts (bb_vec_info bb_vinfo, slp_tree node,
                    if (dump_enabled_p ())
                      dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
                                       "Cannot determine insertion place for "
-                                      "lane extract\n");
+                                      "lane extract of %T at node %p\n",
+                                      DEF_FROM_PTR (def_p), (void *)node);
                    can_insert = false;
                    break;
                  }