Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed.

        * tree-vect-slp.cc (vect_print_slp_tree): Dump the scheduling
        point, if set.
---
 gcc/tree-vect-slp.cc | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gcc/tree-vect-slp.cc b/gcc/tree-vect-slp.cc
index e7aff6565bf..1a832b53e3d 100644
--- a/gcc/tree-vect-slp.cc
+++ b/gcc/tree-vect-slp.cc
@@ -3452,7 +3452,7 @@ vect_print_slp_tree (dump_flags_t dump_kind, 
dump_location_t loc,
                      ? " (constant)"
                      : ""), (void *) node,
                   estimated_poly_value (node->max_nunits),
-                                        SLP_TREE_REF_COUNT (node));
+                  SLP_TREE_REF_COUNT (node));
   if (SLP_TREE_VECTYPE (node))
     dump_printf (metadata, " %T", SLP_TREE_VECTYPE (node));
   dump_printf (metadata, "%s",
@@ -3460,7 +3460,10 @@ vect_print_slp_tree (dump_flags_t dump_kind, 
dump_location_t loc,
   if (node->cycle_info.id != -1 || node->cycle_info.reduc_idx != -1)
     dump_printf (metadata, " cycle %d, link %d", node->cycle_info.id,
                 node->cycle_info.reduc_idx);
-  dump_printf (metadata, "\n");
+  if (node->si)
+    dump_printf (metadata, " @%G", node->si);
+  else
+    dump_printf (metadata, "\n");
   if (SLP_TREE_DEF_TYPE (node) == vect_internal_def)
     {
       if (SLP_TREE_PERMUTE_P (node))
-- 
2.51.0

Reply via email to