Add debug overload for slp_instance
I found it helpful to be able to print a whole SLP instance from gdb. * tree-vect-slp.cc (debug): Add overload for slp_instance.
This commit is contained in:
parent
04065d8c30
commit
2c0b574ac6
1 changed files with 9 additions and 0 deletions
|
@ -3038,6 +3038,15 @@ vect_print_slp_graph (dump_flags_t dump_kind, dump_location_t loc,
|
|||
vect_print_slp_graph (dump_kind, loc, entry, visited);
|
||||
}
|
||||
|
||||
DEBUG_FUNCTION void
|
||||
debug (slp_instance instance)
|
||||
{
|
||||
debug_dump_context ctx;
|
||||
vect_print_slp_graph (MSG_NOTE,
|
||||
dump_location_t::from_location_t (UNKNOWN_LOCATION),
|
||||
SLP_INSTANCE_TREE (instance));
|
||||
}
|
||||
|
||||
/* Mark the tree rooted at NODE with PURE_SLP. */
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Reference in a new issue