public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7327] Dump def that we use for a splat
@ 2022-02-22 13:28 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2022-02-22 13:28 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d669237f7d56d83b3c7bc12a957db22b3c410b43

commit r12-7327-gd669237f7d56d83b3c7bc12a957db22b3c410b43
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Feb 22 14:26:06 2022 +0100

    Dump def that we use for a splat
    
    This makes the SLP vectorizer dump the def we use for a splat to
    aid debugging.
    
    2022-02-22  Richard Biener  <rguenther@suse.de>
    
            * tree-vect-slp.cc (vect_build_slp_tree_2): Dump the def used
            for a splat.

Diff:
---
 gcc/tree-vect-slp.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc
index 9188d727e33..341bd5220a5 100644
--- a/gcc/tree-vect-slp.cc
+++ b/gcc/tree-vect-slp.cc
@@ -2202,7 +2202,8 @@ out:
 	    {
 	      if (dump_enabled_p ())
 		dump_printf_loc (MSG_NOTE, vect_location,
-				 "Using a splat of the uniform operand\n");
+				 "Using a splat of the uniform operand %G",
+				 first_def->stmt);
 	      oprnd_info->first_dt = vect_external_def;
 	    }
 	}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-22 13:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-22 13:28 [gcc r12-7327] Dump def that we use for a splat Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).