summaryrefslogtreecommitdiff
path: root/gcc/tree-vect-slp.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-03-20 18:57:30 +0100
committerRichard Biener <rguenther@suse.de>2020-03-20 18:58:56 +0100
commita89349e664ff420f33612d47e486954de5848e49 (patch)
tree7964d4ec059104440ca050954e56cee0aeb23126 /gcc/tree-vect-slp.c
parenta23eff1bd04ebdca503376ae6198d95c737dc3de (diff)
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.
Diffstat (limited to 'gcc/tree-vect-slp.c')
-rw-r--r--gcc/tree-vect-slp.c3
1 files changed, 2 insertions, 1 deletions
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;