public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/redhat/heads/gcc-10-branch)] adjust SLP tree dumping
@ 2020-03-25 10:08 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2020-03-25 10:08 UTC (permalink / raw)
  To: gcc-cvs

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

commit a89349e664ff420f33612d47e486954de5848e49
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Mar 20 18:57:30 2020 +0100

    adjust SLP tree dumping
    
    This also dumps the root node we eventually smuggle in.
    
    2020-03-20  Richard Biener  <rguenther@suse.de>
    
            * tree-vect-slp.c (vect_analyze_slp_instance): Dump SLP tree
            from the possibly modified root.

Diff:
---
 gcc/ChangeLog       | 5 +++++
 gcc/tree-vect-slp.c | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9f50e43924e..967e4540bce 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2020-03-20  Richard Biener  <rguenther@suse.de>
+
+	* tree-vect-slp.c (vect_analyze_slp_instance): Dump SLP tree
+	from the possibly modified root.
+
 2020-03-20  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
             Andre Vieira  <andre.simoesdiasvieira@arm.com>
             Mihail Ionescu  <mihail.ionescu@arm.com>
diff --git a/gcc/tree-vect-slp.c b/gcc/tree-vect-slp.c
index fb13af7965e..e43d03b43de 100644
--- a/gcc/tree-vect-slp.c
+++ b/gcc/tree-vect-slp.c
@@ -2435,7 +2435,8 @@ vect_analyze_slp_instance (vec_info *vinfo,
 	    {
 	      dump_printf_loc (MSG_NOTE, vect_location,
 			       "Final SLP tree for instance:\n");
-	      vect_print_slp_tree (MSG_NOTE, vect_location, node);
+	      vect_print_slp_tree (MSG_NOTE, vect_location,
+				   SLP_INSTANCE_TREE (new_instance));
 	    }
 
 	  return true;


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

only message in thread, other threads:[~2020-03-25 10:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-25 10:08 [gcc(refs/vendors/redhat/heads/gcc-10-branch)] adjust SLP tree dumping Jakub Jelinek

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).